Skip to content
This repository was archived by the owner on Jul 17, 2019. It is now read-only.
This repository was archived by the owner on Jul 17, 2019. It is now read-only.

Document mustache template usage #8

@alexdmiller

Description

@alexdmiller

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions