Command Line HTML Output...
Is there a way or plans to implement the ability to invoke
marked from the command line and export the output to a new file?
Something like this:
$ cat somefile.md > marked --html_out=[ somefile.html |
somefolder ]
Maybe even use the default CSS you have defined in marked.
I keep a ton of stuff in nvALT, some of which I'd like to toss up to a web server on a nightly basis. Specifically, journal entries. I keep personal and work journals for each day in nvALT. A cronjob to process the markdown into HTML could dump the output into a folder and that folder could be rsynced to a web server.
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 01 May, 2012 07:33 PM
There are plans to extend that `mark` utility that's currently embedded, yes, but there's no timeline set for that development yet. I'd recommend using a script on a launchd or cron process that incorporates a processor like pandoc or possibly discount which can include CSS in the output.
2 Posted by zabouti on 28 May, 2012 01:19 PM
I would like this, too, for the same reasons as charlie's. Guess I'll look again at pandoc...
Thx.