Re-exports§
pub use markup5ever_rcdom::Handle;pub use markup5ever_rcdom::NodeData;pub use markup5ever_rcdom::RcDom;
Modules§
- anchors
- codes
- common
- containers
- dummy
- headers
- iframes
- images
- lists
- markup5ever_
rcdom - A simple reference-counted DOM.
- paragraphs
- quotes
- styles
- tables
Structs§
- Structured
Printer - Intermediate result of HTML -> Markdown conversion.
Traits§
- TagHandler
- Trait interface describing abstract handler of arbitrary HTML tag.
- TagHandler
Factory - Tag handler factory. This class is required in providing proper custom tag parsing capabilities to users of this library.
Functions§
- parse
- FFI variant for HTML -> Markdown conversion for calling from other languages
- parse_
html - Main function of this library. Parses incoming HTML, converts it into Markdown and returns converted string.
- parse_
html_ custom - Custom variant of main function. Allows to pass custom tag<->tag factory pairs in order to register custom tag handler for tags you want.
- parse_
html_ extended - Same as
parse_htmlbut retains all “span” html elements intact Markdown parsers usually strip them down when rendering but they may be useful for later processing