Skip to main content

Crate markdown2html_converter

Crate markdown2html_converter 

Source
Expand description

§Markdown to HTML Converter

Markdown to HTML Converter is a free tool for converting a Markdown file to a single HTML file with built-in CSS and JS.

Structs§

ConvertOptions
Options for convert.
UnknownMathMode
The error of parsing a MathMode from a string.
UnknownMermaidMode
The error of parsing a MermaidMode from a string.
UnknownTheme
The error of parsing a Theme from a string.

Enums§

ConvertError
Errors for HTMLMinifier.
HighlightLanguages
Which code block languages make highlight.js be embedded. Languages are matched case-insensitively.
MathMode
How the math in a Markdown file is rendered.
MermaidMode
How the Mermaid diagrams in a Markdown file are rendered.
Theme
The color theme of the output HTML.

Constants§

APP_NAME
The name of this application.
CARGO_PKG_VERSION
The version of this application.

Functions§

convert
Convert a Markdown text to a single HTML file with built-in CSS and JS.