Skip to main content

Module generator

Module generator 

Source
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.
HtmlOutput
The result of generate_html_with_diagnostics: final HTML plus any warnings from post-processing steps that failed non-fatally.

Enums§

DiagnosticLevel
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 an HtmlOutput that 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.