Skip to main content

Crate mbdown

Crate mbdown 

Source
Expand description

MBDown language parser and backend-neutral syntax tree.

Modules§

mermaid_text
mermaid-text

Structs§

BoxSpec
ColumnSpec
ColumnsSpec
Document
A parsed MBDown document. It borrows source text where possible and owns structural attributes plus any text fragments normalized by CommonMark.
Formatter
Formats an MBDown syntax tree back into canonical source text.
FrontMatter
Front matter extracted from the beginning of an MBDown document.
IndentSpec
InlineTag
Markdown
Parsed CommonMark events for a non-structural section of a document.
Padding
ParseError
SpannedEvent

Enums§

Alignment
BorderMode
ColumnWidth
Container
ContainerEnd
Event
FrontMatterKind
Serialization format used by a Markdown front matter block.
HeadingLevel
InlineToken
Node
ValidationError
WidthMode

Functions§

format
Parse and format MBDown source using the default formatter.
is_structural_tag_name
parse
Parse Markdown and structural MBDown containers into a syntax tree.
tokenize_inline
validate
Parse and validate an MBDown document, including supported Mermaid fences.