Expand description
Utilities for determining if a position in markdown should be skipped from processing
This module provides centralized context detection for various markdown constructs that should typically be skipped when processing rules.
Functions§
- is_
in_ front_ matter - Check if a line is within front matter (both YAML and TOML)
- is_
in_ html_ comment - Check if a byte position is within an HTML comment
- is_
in_ html_ tag - Check if a byte position is within an HTML tag
- is_
in_ inline_ math - Check if a byte position is within inline math ($…$)
- is_
in_ math_ block - Check if a byte position is within a math block ($$…$$)
- is_
in_ math_ context - Check if a byte position is within a math context (block or inline)
- is_
in_ skip_ context - Check if a byte position is within any context that should be skipped
- is_
in_ table_ cell - Check if a position is within a table cell
- is_
table_ line - Check if a line contains table syntax