Expand description
HTML generation module for converting Markdown to HTML.
This module provides functions to generate HTML from Markdown content
using the mdx-gen library. It supports various Markdown extensions
and custom configuration options.
Structs§
- Diagnostic
- A diagnostic emitted when a post-processing step fails non-fatally.
- Html
Output - The result of
generate_html_with_diagnostics: final HTML plus any warnings from post-processing steps that failed non-fatally.
Enums§
- Diagnostic
Level - Severity level for a processing diagnostic.
Functions§
- generate_
html - Generate HTML from Markdown content using
mdx-gen. - generate_
html_ with_ diagnostics - Like
generate_html, but returns anHtmlOutputthat includes diagnostics for any post-processing steps that failed non-fatally. - markdown_
to_ html_ with_ extensions - Convert Markdown to HTML with specified extensions using
mdx-gen. - process_
markdown_ inline - Processes inline Markdown (bold, italics, links, etc.) without block-level syntax.