html2md-rs 0.1.1

Convert HTML to Markdown
Documentation

html2md-rs

Parses HTML and converts it to markdown.

Usage

use html2md_rs::{parser::parse_html, to_md::to_md};

fn main() {
    let html = "<h1>Hello, World!</h1>";
    let parsed = parse_html(html);
    let md = to_md(&parsed);
    println!("{}", md);
}

Supported HTML tags

Check the supported HTML tags here.

License

This project is licensed under the MIT License - see the LICENSE file for details.