Skip to content

Markdown Directives

A markdown container directive is a directive that allows you to write html inside of markdown. Without having to use tags. Any attribute that can be added to an html element can be added to markdown directives. The syntax for them is [=colon=][name][=content=][{key=value}]. The name and colons are necessary so that they become to the proper HTML elements.

Container

A directive that must wrap around markdown content.

Nesting Containers

When it comes to putting a container inside of another container the parent container must have one more colon than it's children. This must happen the more containers are nested inside each other.

Leaf

A directive that must be used stand alone they are elements that are meant to just contain text inside of them.

Inline

A directive that is meant to be surrounded by text. These directives are used to surround words within text so that they can be changed to mean some thing.