Expand description
Markdown parsing via pulldown-cmark.
Structs§
- Code
Block - 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). - List
Item - A single list item (bullet or ordered), flattened.
- Markdown
Doc - 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
inputinto aMarkdownDoc.