Markdown Content

Fepper provides the convenience of managing content in Markdown. To do so, create a .md file of the same name as the pattern. Edit this file in Front Matter syntax like so:

example.md:
---
content_key: content
---
# Heading
Sample body content

Front Matter comprises YAML between the --- lines and Markdown below them. It doesn't appear to have a unified spec, so searches for documentation will probably just list various implementations. In any case, content_key can be any valid whitespace-free string. Use it to identify its corresponding tag in the .mustache file like so:

example.mustache:
<main id="content">
  {{{ content }}}
</main>

Once properly set up, the Markdown can be edited in the Code Viewer.

When creating .md files for pseudo-patterns, replace the .json extension while leaving the rest of the filename intact.