Terminal launcher for Marked (2)
Marked 2 is a great previewer for markdown. It'd be even greater if I could launch it from the terminal without having to do an `open -a 'marked 2'` etc. dance every time - lots of editors provide quick terminal launch scripts, so would it be possible to get an (official) one from Brett or the Marked team?
Would be great to just say 'marked [filename]' to open a preview of it in Marked 2.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 28 Mar, 2017 03:53 PM
Given I don't currently provide any command line options, a separate
binary is more trouble than it's worth. Just add this to your
~/.bash_profile
alias marked="open -a 'Marked 2'"
Then you can just type `marked [filename]` as you request.
-Brett
2 Posted by Dave Mee on 28 Mar, 2017 03:55 PM
Thanks Brett!
... should be in the FAQ.