pandoc pandoc --quiet -f gfm -s somefile.md
What the options mean:
--quiet
: supress "[WARNING] This document format requires a nonempty <title> element."-f gfm
: input format is Github Flavored Markdown-s
: create standalone HTML5 with the formatting magic embedded in itsomefile.md
: the actual document you want to render
M-x customize-variable RET markdown-command RET
- Enter
pandoc --quiet -f gfm -s
in box like so:
For help using this buffer, see [Easy Customization] in the [Emacs manual].
[ Search ]
Operate on all settings in this buffer:
[ Revert... ] [ Apply ] [ Apply and Save ]
Hide Markdown Command: pandoc --quiet -f gfm -s
[ State ]: SAVED and set.
Command to run markdown.
Groups: [Markdown]
It's stuck after I type this command!
EDIT:
If I use
test.md
at the end, it works fine...