Markdown & MDX
Write documentation in Markdown with the power of JSX components when you need them.
Dustavez uses MDX — Markdown with optional JSX. This means every standard Markdown feature works out of the box, and you can drop in custom components for richer content when plain Markdown isn’t enough.
Standard Markdown
Everything you know about Markdown works here. Headings, paragraphs, links, lists, images, bold, italic, inline code, and code blocks all render with Dustavez’s carefully tuned typography.
# This is a heading
A paragraph with **bold**, *italic*, and `inline code`.
- Unordered list item- Another item
1. Ordered list item2. Another item
[A link to somewhere](/getting-started/installation)Using components
MDX lets you import and use Astro (or React) components directly in your content files. Import at the top of the file, then use the component inline.
---title: "My page"description: "A page that uses components."section: "Guides"order: 1---
import Callout from '@/components/mdx/Callout.astro';
Some regular Markdown content here.
<Callout type="tip" title="Pro tip"> Components can contain Markdown content too.</Callout>Component imports must be placed after the frontmatter block and before the content. This is a requirement of the MDX format.
Available components
Dustavez ships with a focused set of components designed for documentation:
| Component | Purpose |
|---|---|
Callout | Notes, warnings, and tips |
Tabs / Tab | Tabbed content panels |
Steps / Step | Numbered procedures |
LinkGrid | Navigation card grids |
ApiEndpoint | API method and path display |
Badge | Inline status labels |
Each component is documented in its own page under the Authoring section.
Tables
Standard Markdown tables render with clean, minimal styling:
| Feature | Status | Version |
|---|---|---|
| MDX support | Available | 1.0 |
| Search | Available | 1.0 |
| i18n | Planned | 2.0 |
Horizontal rules
Use --- on its own line to create a horizontal rule. These are useful for separating major sections within a single page.