Expand description
Shared utilities for rumdl, including document structure analysis, code block handling, regex helpers, and string extensions. Provides reusable traits and functions for rule implementations and core linter logic.
Re-exports§
pub use ast_utils::AstCache;
pub use code_block_utils::CodeBlockUtils;
pub use document_structure::DocumentStructure;
pub use line_ending::LineEnding;
pub use line_ending::detect_line_ending;
pub use line_ending::detect_line_ending_enum;
pub use line_ending::ensure_consistent_line_endings;
pub use line_ending::get_line_ending_str;
pub use line_ending::normalize_line_ending;
pub use markdown_elements::ElementQuality;
pub use markdown_elements::ElementType;
pub use markdown_elements::MarkdownElement;
pub use markdown_elements::MarkdownElements;
pub use range_utils::LineIndex;
Modules§
- anchor_
styles - Anchor generation styles for different Markdown platforms
- ast_
utils - AST parsing utilities and caching for rumdl
- code_
block_ utils - Utility functions for detecting and handling code blocks and code spans in Markdown for rumdl.
- document_
structure - early_
returns - Fast-path checks and early return utilities for rule implementations in rumdl. Provides helpers to quickly skip rules based on content analysis.
- element_
cache - emphasis_
utils - fix_
utils - Utilities for applying fixes consistently between CLI and LSP
- header_
id_ utils - Utilities for extracting custom header IDs from various Markdown flavors
- kramdown_
utils - Utilities for handling Kramdown-specific syntax
- line_
ending - markdown_
elements - mkdocs_
admonitions - mkdocs_
common - mkdocs_
critic - mkdocs_
footnotes - mkdocs_
patterns - mkdocs_
snippets - mkdocs_
tabs - mkdocs_
test_ utils - mkdocstrings_
refs - range_
utils - Utilities for position/range conversions
- regex_
cache - Cached Regex Patterns and Fast Content Checks for Markdown Linting
- skip_
context - Utilities for determining if a position in markdown should be skipped from processing
- string_
interner - table_
utils - text_
reflow - Text reflow utilities for MD013
Traits§
- StrExt
- Trait for string-related extensions
Functions§
- fast_
hash - Fast hash function for string content