Expand description
Utility functions for HTML and Markdown processing.
This module provides various utility functions for tasks such as extracting front matter from Markdown content and formatting HTML headers.
Functionsยง
- extract_
front_ matter - Extracts front matter from Markdown content.
- format_
header_ with_ id_ class - Formats a header with an ID and class.
- generate_
table_ of_ contents - Generates a table of contents from HTML content.
- is_
valid_ aria_ role - Check if an ARIA role is valid for a given element.
- is_
valid_ language_ code - Validates a language code.