Markdown Helpers

Table of Contents

markdown

Visit the: code | unit tests

{markdown}

Block helper that converts a string of inline markdown to HTML.

Params

  • context Object
  • options Object
  • returns String

Example

{{#markdown}}
# Foo
{{/markdown}}

{md}

Read a markdown file from the file system and inject its contents after converting it to HTML.

Params

  • context Object
  • options Object
  • returns String

Example

{{md "foo/bar.md"}}

Table of Contents