[−][src]Crate html2md
Modules
common |
Structs
RcDom | The DOM itself; the result of parsing. |
StructuredPrinter | Intermediate result of HTML -> Markdown conversion. |
Enums
NodeData | The different kinds of nodes in the DOM. |
Traits
TagHandler | Trait interface describing abstract handler of arbitrary HTML tag. |
TagHandlerFactory | 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 hadler for tags you want. |
parse_html_extended | Same as |
Type Definitions
Handle | Reference to a DOM node. |