Skip to main content

Module lint_context

Module lint_context 

Source

Structs§

BareUrl
Pre-parsed bare URL information (not in links)
BlockquoteInfo
Information about a blockquote line
BrokenLinkInfo
Information about a broken link reported by pulldown-cmark
CharFrequency
Character frequency data for fast content analysis
CodeSpan
Parsed code span information
EmphasisSpan
Pre-parsed emphasis span information
FootnoteRef
Parsed footnote reference (e.g., [^1], [^note])
HeadingInfo
Information about a heading
HtmlTag
Pre-parsed HTML tag information
LineInfo
Pre-computed information about a line
LintContext
ListBlock
Information about a list block
ListItemInfo
Information about a list item
MathSpan
Parsed math span information (inline $…$ or display $$…$$)
ParsedImage
Parsed image information
ParsedLink
Parsed link information
ReferenceDef
Reference definition [ref]: url "title"
TableRow
Pre-parsed table row information
ValidHeading
A valid heading from a filtered iteration
ValidHeadingsIter
Iterator over valid CommonMark headings in a document

Enums§

HeadingStyle
Heading style type

Functions§

is_horizontal_rule
Backwards-compatible alias for is_horizontal_rule_content
is_horizontal_rule_content
Check if trimmed content matches horizontal rule pattern. Use is_horizontal_rule_line for full CommonMark compliance including indentation check.
is_horizontal_rule_line
Check if a line is a horizontal rule (—, ***, ___) per CommonMark spec. CommonMark rules for thematic breaks (horizontal rules):