Skip to main content

Crate clankerdiff_markdown

Crate clankerdiff_markdown 

Source
Expand description

Renderer-neutral Markdown documents, anchors, reviews, and append streams.

Structs§

Fingerprint
MarkdownBlock
A commentable or structurally significant Markdown block.
MarkdownCodeBlock
A fenced or indented code block.
MarkdownCodeLine
One content line inside a code block.
MarkdownDocument
A parsed Markdown document.
MarkdownHeading
A heading in document outline order.
MarkdownLineRange
A one-based, inclusive range of lines in the original Markdown source.
MarkdownListItem
One list item. The list container itself is not a review target.
MarkdownStream
MarkdownStreamIdentity
MarkdownStreamUpdate
MarkdownTable
A table and its rows. Cells are structural and are not independent targets.
MarkdownTableCell
One structural table cell.
MarkdownTableRow
One table row, including the header row when one exists.
MarkdownTarget
A selectable target in document order.
MarkdownTargetId
An opaque identifier valid only for the lifetime of one parsed document.
SourceRange
A byte and line range into the original, unmodified source.

Enums§

FingerprintError
Errors produced while decoding a hexadecimal fingerprint.
MarkdownBlockKind
The semantic kinds of blocks exposed to renderers.
MarkdownInline
A formatted inline Markdown node.
MarkdownTableAlignment
Alignment requested by a Markdown table delimiter.
MarkdownTargetKind
The semantic kinds that can be selected and commented on.

Functions§

parse_markdown
Parses Markdown into a renderer-neutral semantic document.
rendered_text
Returns the rendered, style-free text represented by inline nodes.