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§

Modules§

Structs§

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

Functions§

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