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

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:

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.

  1. comrak is a CommonMark + GFM compatible Markdown parser written in Rust.

  2. Footnotes render as numbered references at the bottom of the page.