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 markdown_elements::ElementQuality;pub use markdown_elements::ElementType;pub use markdown_elements::MarkdownElement;pub use markdown_elements::MarkdownElements;pub use range_utils::LineIndex;
Modules§
- 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
- markdown_
elements - range_
utils - Utilities for position/range conversions
- regex_
cache - Cached Regex Patterns and Fast Content Checks for Markdown Linting
- string_
interner - table_
utils - text_
reflow
Traits§
- StrExt
- Trait for string-related extensions
Functions§
- detect_
line_ ending - Detect the predominant line ending style in content
- fast_
hash - Fast hash function for string content