html2md-rs
Parses HTML and converts it to markdown.
Usage
use ;
Supported HTML tags
Check the supported HTML tags here.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Parses HTML and converts it to markdown.
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);
}
Check the supported HTML tags here.
This project is licensed under the MIT License - see the LICENSE file for details.