Lightweight html to text converter in Rust
git clone git://
Log | Files | Refs | LICENSE

commit 07b0167d8220baccf1e0e7701accf3e23efbc10f
parent dbe0b94cf03da401697e5d22b09537c0a383c177
Author: alex wennerberg <>
Date:   Thu,  6 Jan 2022 10:53:49 -0800


MREADME | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -7,12 +7,10 @@ Based on -- basically a line-for-line rewreite Primarily useful for displaying HTML emails. YMMV depending on the structure of the HTML you're trying to convert. -Usage: +This library has one function, html2text, which takes a an html &str and returns a plain text String -use nanohtml2text::html2text; - -let s = "<b>Hacker mode</b>" -assert_eq!(&html2text(s), "Hacker mode") +use the crate: + contributing ------------