Directives

MyST-style directive extensions for the Patitas Python Markdown parser

1 min read 106 words

MyST-style directive extensions for enhanced Markdown, documentation sites, and custom content pipelines.

Directives require thedirectivesextra:

pip install patitas[directives]

Syntax

Directives use the MyST fence syntax:

:::{directive-name}
:option: value

Content goes here.

:::{/directive-name}

Available Directives

Custom Directives

See Custom Directives for creating your own.