Skip to main content

Module render

Module render 

Source
Expand description

HTML rendering and rendering options. HTML renderer entry points and render support modules.

This module exposes the stable rendering API used by consumers: render() and RenderOptions.

Re-exports§

pub use code_languages::*;
pub use markdown::*;
pub use options::*;
pub use preview_document::*;
pub use syntect_highlighter::*;

Modules§

base_css
Base stylesheet used by preview rendering.
code_languages
Language normalization and metadata for code blocks. Code fence language normalization.
diagram
Diagram rendering helpers (for example Mermaid).
markdown
Core Markdown AST to HTML renderer.
math
Math rendering helpers.
options
Public render configuration options. Rendering options and configuration.
plarform_mentions
Platform mention rendering helpers. Platform mention mapping and URL generation.
preview_document
HTML document wrappers for preview pages.
syntect_highlighter
Syntax highlighting support based on syntect. syntect-powered syntax highlighting helpers.

Functions§

render
Render a parsed Markdown Document into HTML.