tpnote-html2md is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the html2md executable
Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install tpnote-html2md
It will make the html2md command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall tpnote-html2md uninstalls.
Adding html2md library as a dependency
Run this command in a terminal, in your project's directory:
cargo add tpnote-html2md
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
tpnote-html2md = "0.3.4"
The html2md library will be automatically available globally.
Read the html2md library documentation.