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ยง
- Extracts front matter from Markdown content.
- Formats a header with an ID and class.
- Generates a table of contents from HTML content.
- Check if an ARIA role is valid for a given element.
- Validates a language code.