936 B
936 B
Example Book
This is a sample book to demonstrate mdbook functionality.
Chapter 1: Introduction
Welcome to this example book. This demonstrates the capabilities of mdbook for generating static documentation sites.
Features of mdbook
- Write in Markdown
- Automatically generated table of contents
- Syntax highlighting for code blocks
- Cross-references between chapters
- Support for themes and custom CSS
fn main() {
println!("Hello, mdbook!");
}
Chapter 2: Advanced Features
Mdbook supports several advanced features that enhance documentation:
- Internal link: Introduction
- External link: Rust Homepage
- Images and diagrams
- Math formulas using KaTeX
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
Summary
This example demonstrates mdbook's core functionality. In a real project, you would have multiple chapters with detailed content.