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§
Structs§
- Metadata
Config - Configuration options for document parsing metadata.
- Output
Config - Configuration options for converting a MinTyML document.
- Special
TagConfig - Defines overrides for the element types (or tags) inferred from special inline elements and code blocks.
Functions§
- convert
- Converts the given MinTyML string
srcusingconfigfor 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
srcusingconfigfor configuration options. The converted HTML document will be written toout.