How to Use Markdown in Rust Documentation

Write Markdown files in the src directory and run mdbook build to generate HTML documentation.

Use standard Markdown syntax in your .md source files within the src directory, then run mdbook build to compile them into HTML documentation. The SUMMARY.md file defines the book structure, while book.toml configures output settings like CSS and JavaScript.

mdbook build

This command processes all Markdown files listed in SUMMARY.md and generates the final documentation in the book directory.