Docs.rs
  • fast_html2md-0.0.6
    • fast_html2md 0.0.6
    • Docs.rs crate page
    • GPL-3.0+
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • j-mendez
    • Dependencies
      • html5ever ^0.26.0 normal
      • lazy_static ^1.4.0 normal
      • markup5ever_rcdom ^0.2.0 normal
      • percent-encoding ^2.3.1 normal
      • regex ^1.4.2 normal
      • indoc ^1.0.3 dev
      • pretty_assertions ^0.7.2 dev
      • spectral ^0.6.0 dev
      • jni ^0.19.0 normal
    • Versions
    • 36.96% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate html2md

html2md0.0.6

  • All Items
  • Modules
  • Structs
  • Enums
  • Traits
  • Functions
  • Type Aliases

Crates

  • html2md
?
Change settings

Crate html2md

source ·

Modules

  • anchors
  • codes
  • common
  • containers
  • dummy
  • headers
  • iframes
  • images
  • lists
  • paragraphs
  • quotes
  • styles
  • tables

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 parse_html but retains all “span” html elements intact Markdown parsers usually strip them down when rendering but they may be useful for later processing

Type Aliases

  • Handle
    Reference to a DOM node.

Results

trait
html2md::TagHandlerFactory
Tag handler factory. This class is required in providing …
trait method
html2md::TagHandlerFactory::instantiate
function
html2md::parse_html_custom
Custom variant of main function. Allows to pass custom tag<…
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.