Is there a CLI utility for Marked to open a .md file from the command line and also to open it from Sublime itself
Like for example there is 'subl' command for Sublime Text to open files from the command line. It would really be great to have that but from the command line, I didn't fin such a command.
Also would be really nice to have a sublime package or command that you can you from the sublime text command palette to open current file in Marked.
Thank you a lot for any help. It really is a great application.
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 10 Apr, 2016 01:06 PM
You can just run:
open -a Marked\ 2 [filename]
Add an alias for it:
alias marked="open -a Marked\ 2"
Then you can use "marked" just like "subl".
There are several packages for Sublime, including palette commands and build systems. Search Package Control for "marked".
Additional resources can be found here: https://github.com/kotfu/marked-bonus-pack
Also note that Marked's URL handler can be used from the shell and scripts as well. http://marked2app.com/help/URL_Handler.html
-Brett
2 Posted by Nikita Voloboev on 10 Apr, 2016 01:17 PM
Thank you a lot.