Custom Containers
Standard Markdown is great for text, but sometimes you need more. docmd extends Markdown with a set of “Containers” to help you structure complex documentation.
Use the syntax ::: container_name to start a block.
::: card 📣 Callouts
Semantic highlights for warnings, tips, and important notes.
::: button "See Types" /content/containers/callouts
:::
::: card 🗃️ Cards
Group related content into distinct, framed boxes. Perfect for grids.
::: button "Card Syntax" /content/containers/cards
:::
::: card 📑 Tabs
Organise content into switchable panes to save vertical space.
::: button "Tab Examples" /content/containers/tabs
:::
::: card 🔢 Steps
Transform ordered lists into beautiful visual timelines.
::: button "Create Steps" /content/containers/steps
:::
::: card 🖱️ Buttons
Call-to-action links with custom colours and styles.
::: button "Button API" /content/containers/buttons
:::
::: card ↕️ Collapsible
Hide advanced details or FAQs inside toggleable accordions.
::: button "Accordions" /content/containers/collapsible
:::
Nesting
Thanks to our advanced parser, you can nest these containers inside each other infinitely. See Nested Containers for examples.