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: make it easier to start #2

Open
markstos opened this issue May 2, 2014 · 1 comment
Open

wish: make it easier to start #2

markstos opened this issue May 2, 2014 · 1 comment

Comments

@markstos
Copy link

markstos commented May 2, 2014

Thanks for this tool.

Start-up could be a little faster with some tweaks:

Option 1:

  • Print the full URL, so it can be easily copy/pasted from the terminal
  • Like downtown, if no file is specified, like markdown files in the current directory in the resulting web page, so one can quickly be selected.

Option 2, more automatic:

  • Allow a file name as an argument on the command line. If present, automatically load it in when the browser launches
  • Open the browser for the user using 'open $url' on Mac OS X and 'xdg-open $url' on Linux.
@markstos
Copy link
Author

markstos commented May 2, 2014

Actually, I just found 'moo.js' Are you aware of it? It already implements "option 2" and supports syntax highlighting as well. I'm switching to 'moo.js'. It could be worth adding to a "See Also" section.

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

1 participant