Skip to main content

Module mkdocs_common

Module mkdocs_common 

Source
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§

BytePositionTracker
Utility for tracking byte positions through document lines Reduces duplication of line-by-line byte position tracking logic
ContextStateMachine
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)