html2md-rs 0.5.0

Convert HTML to Markdown
Documentation

[!CAUTION] This project is still in development and not ready for use. If you want to contribute, feel free to open an issue or a pull request. Leave a star if you like the project.

html2md-rs

Parses HTML and converts it to markdown.

Usage

use html2md_rs::to_md::from_html_to_md;

fn main() {
    let html = "<h1>Hello, World!</h1>";
    let md = from_html_to_md(html);
    assert_eq!(md, "# Hello, World!");
}

Markdown Convention

There are many markdown conventions/standards out there. This project references the CommonMark Spec.

Supported HTML tags

Check the supported HTML tags here.

License

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