Module :: include_md
Include markdown file or its section.
To add to your project
cargo add include_md
Quick Start
Include a complete markdown file as a compile-time string constant:
let content = include_md!;
println!;
Include only a named section from a markdown file:
let section = include_md_section!;
println!;
Paths for include_md! resolve relative to the source file (same as include_str!).
Paths for include_md_section! resolve relative to CARGO_MANIFEST_DIR (crate root).
Both macros reject files larger than 10 MB at compile time.