markdown-html
markdown-html copied to clipboard
Document mustache template usage
I figured out that I can use {{{content}}}
in a mustache template to insert the transformed markdown code. It might be good to document how to write the mustache template.
For example, I'm curious to know if I can pass in values from the command line that can be inserted in the template? If you had a template like:
<html>
{{{myValue}}}
</html>
could you do:
markdown-html markdown-test.md -l template.html -v myValue="Hello!"
Or something similar—like passing a JSON file to populate template values?