Expand description
Common utilities and constants for MkDocs pattern detection
This module provides shared functionality used across all MkDocs feature detection modules to reduce code duplication and improve maintainability.
Structs§
- Byte
Position Tracker - Utility for tracking byte positions through document lines Reduces duplication of line-by-line byte position tracking logic
- Context
State Machine - State machine for tracking nested context boundaries
Constants§
- MKDOCS_
CONTENT_ INDENT - Standard indentation size for MkDocs content blocks Most MkDocs features require content to be indented by 4 spaces
Functions§
- get_
line_ indent - Extract indentation from a line (counts spaces and tabs)