Skip to main content

Crate bake_markdown

Crate bake_markdown 

Source
Expand description

Markdown normalization tasks for Bake.

normalize_document parses CommonMark, GFM, front matter, and math, then serializes the result with soft source line breaks unwrapped. CommonMark includes inline code. The markdown:normalize Bake task applies this to one or more files.

Functionsยง

normalize
Normalize Markdown files beneath the Bake project root.
normalize_document
Normalize a Markdown document by joining soft source line breaks.
normalize_document_with_options
Normalize a Markdown document using explicit parser options.
normalize_task
Generated Bake task descriptor.