Crate mintyml

Crate mintyml 

Source
Expand description

This library exists to convert MinTyML (for Minimalist HTML) markup to its equivalent HTML.

This should be considered the reference implementation for MinTyML.

Re-exports§

pub use error::ConvertError;

Modules§

error

Structs§

MetadataConfig
Configuration options for document parsing metadata.
OutputConfig
Configuration options for converting a MinTyML document.
SpecialTagConfig
Defines overrides for the element types (or tags) inferred from special inline elements and code blocks.

Functions§

convert
Converts the given MinTyML string src using config for configuration options. If successful, returns a string containing the converted HTML document.
convert_forgiving
Similar to convert, but may return a best-effort conversion of an ill-formed document in the event of an error.
convert_to
Converts the given MinTyML string src using config for configuration options. The converted HTML document will be written to out.