Module rules

Module rules 

Source

Re-exports§

pub use md004_unordered_list_style::MD004UnorderedListStyle;
pub use md004_unordered_list_style::UnorderedListStyle;
pub use md013_line_length::MD013LineLength;
pub use md030_list_marker_space::MD030ListMarkerSpace;

Modules§

blockquote_utils
code_block_utils
code_fence_utils
emphasis_style
front_matter_utils
heading_utils
list_utils
md004_unordered_list_style
md013_line_length
md030_list_marker_space
Rule MD030: Spaces after list markers
strong_style

Structs§

MD001HeadingIncrement
Rule MD001: Heading levels should only increment by one level at a time
MD002FirstHeadingH1
Rule MD002: First heading should be a top-level heading
MD003HeadingStyle
Rule MD003: Heading style
MD005ListIndent
Rule MD005: Inconsistent indentation for list items at the same level
MD006StartBullets
Rule MD006: Consider starting bulleted lists at the leftmost column
MD007ULIndent
MD009TrailingSpaces
MD010NoHardTabs
Rule MD010: Hard tabs
MD011NoReversedLinks
MD012NoMultipleBlanks
Rule MD012: No multiple consecutive blank lines
MD014CommandsShowOutput
MD018NoMissingSpaceAtx
MD019NoMultipleSpaceAtx
MD020NoMissingSpaceClosedAtx
MD021NoMultipleSpaceClosedAtx
MD022BlanksAroundHeadings
This rule enforces consistent spacing around headings to improve document readability and visual structure.
MD023HeadingStartLeft
MD024NoDuplicateHeading
MD025SingleTitle
MD026NoTrailingPunctuation
Rule MD026: Trailing punctuation in heading
MD027MultipleSpacesBlockquote
Rule MD027: No multiple spaces after blockquote symbol
MD028NoBlanksBlockquote
MD029OrderedListPrefix
MD031BlanksAroundFences
Rule MD031: Fenced code blocks should be surrounded by blank lines
MD032BlanksAroundLists
Rule MD032: Lists should be surrounded by blank lines
MD033NoInlineHtml
MD034NoBareUrls
MD035HRStyle
Represents the style for horizontal rules
MD036NoEmphasisAsHeading
Rule MD036: Emphasis used instead of a heading
MD037NoSpaceInEmphasis
Rule MD037: Spaces inside emphasis markers
MD038NoSpaceInCode
Rule MD038: No space inside code span markers
MD039NoSpaceInLinks
Rule MD039: No space inside link text
MD040FencedCodeLanguage
Rule MD040: Fenced code blocks should have a language
MD041FirstLineHeading
Rule MD041: First line in file should be a top-level heading
MD042NoEmptyLinks
Rule MD042: No empty links
MD043RequiredHeadings
Rule MD043: Required headings present
MD044ProperNames
Rule MD044: Proper names should be capitalized
MD045NoAltText
Rule MD045: Images should have alt text
MD046CodeBlockStyle
Rule MD046: Code block style
MD047SingleTrailingNewline
Rule MD047: File should end with a single newline
MD048CodeFenceStyle
Rule MD048: Code fence style
MD049EmphasisStyle
Rule MD049: Emphasis style
MD050StrongStyle
Rule MD050: Strong style
MD051LinkFragments
Rule MD051: Link fragments
MD052ReferenceLinkImages
Rule MD052: Reference links and images should use reference style
MD053LinkImageReferenceDefinitions
Rule MD053: Link and image reference definitions should be used
MD054LinkImageStyle
MD055TablePipeStyle
Rule MD055: Table pipe style
MD056TableColumnCount
Rule MD056: Table column count
MD057ExistingRelativeLinks
Rule MD057: Existing relative links should point to valid files or directories.
MD058BlanksAroundTables

Enums§

ListStyle
Represents the style for ordered lists

Functions§

all_rules
Returns all rule instances for config validation and CLI
filter_rules