Module mdbook_utils::markdown
source · Expand description
Operations on Markdown that are not link- or reference-related
Functions§
- Extract code examples from all Markdown files within a source directory and write them to separate files.
- Within each mdBook-style Markdown file in a source directory, replace {{#include file.md}} statements by the contents of the included file.
- Remove Rust code blocks from Markdown files, replacing each by an {{#include … }} statement.
- Within each mdBook-style Markdown file in a source directory, remove any left-over {{#include file.md}} statements