Markdown Features
DocAnvil supports GitHub Flavored Markdown (GFM) with several extensions.
Tables
| Feature | Supported |
|---|---|
| Tables | Yes |
| Task lists | Yes |
| Strikethrough | Yes |
| Footnotes | Yes |
| Front matter | Yes |
Task Lists
- Set up project with
docanvil init - Start dev server with
docanvil serve - Write your first page
- Customize the theme
Strikethrough
This text has strikethrough formatting.
Footnotes
DocAnvil is built on comrak1, which supports GFM footnotes2.
Wiki-Links
Link to other pages using double-bracket syntax:
page-namePage not foud— links using the page title (e.g. components)
The linked page doesn't exist:page-namecustom textPage not foud— links with custom display text (e.g. API docs)
The linked page doesn't exist:page-name
Code Blocks
Fenced code blocks support syntax highlighting:
fn greet(name: &str) {
println!("Hello, {}!", name);
}
See components for the built-in directive components, or visit the API Reference for example API documentation.