/

Primitive functions

Primitive functions return elements that back standard Markdown syntax. Each one accepts parameters that plain Markdown may not, and can be intercepted via .extend to customize their behavior and appearance across the entire document, even if created via standard Markdown syntax.

For example, extending .heading affects every #, ##, and so on. Extending .math affects every $ ... $ and $$$ ... $$$. See Element styling for the full mechanism.

Available primitives