Skip to main content

Module markdown

Module markdown 

Source
Expand description

Markdown parsing via pulldown-cmark.

Structs§

CodeBlock
A fenced or indented code block.
Frontmatter
Raw YAML frontmatter (--- fenced) at the top of a document.
Heading
A Markdown heading.
Link
A hyperlink discovered in the document ([text](url) or reference form).
ListItem
A single list item (bullet or ordered), flattened.
MarkdownDoc
Structural index of a Markdown document, built in one parse pass.
Paragraph
A top-level prose paragraph (not inside a list item or code block).
Section
A span of the body owned by one heading (or the preamble).

Functions§

parse
Parse input into a MarkdownDoc.