Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wish: support other file names #3

Open
markstos opened this issue May 2, 2014 · 2 comments
Open

wish: support other file names #3

markstos opened this issue May 2, 2014 · 2 comments

Comments

@markstos
Copy link

markstos commented May 2, 2014

To make it more convenient to support other file names, this could also be supported:

file:///.../README.html?file=./foo.md

If present, the file value form the query string would be passed called with GET instead of README.html.

Icing: a little CLI tool could be used to set up the initial HTML request:

preview-markdown --reload 5 ./foo.md

Then there would be zero copy/paste/modifying of files to get going.

Oh, there are already several of these types of things, I was just searching for them the wrong way:

I haven't tried them yet, but they could make for a helpful "See Also" section.

@markstos
Copy link
Author

markstos commented May 2, 2014

I tried several, and 'moo.js' works great:

  • Easy to launch from CLI for any markdown file
  • Automatic live reloads.
  • Syntax highlighting for code blocks.

You have to install 'npm' first to install it, but that's generally useful anyway.

@joshed-io
Copy link
Owner

Really like those suggestions, thanks for sharing! I'll add a See Also section, and I'd be very open to a PR to add some icing here :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants