nanohtml2text

Lightweight html to text converter in Rust
git clone git://git.alexwennerberg.com/nanohtml2text
Log | Files | Refs | README | LICENSE

commit fd7383cdba3c2cfac3245774e7d7cbdcacc3f645
parent 4fab906c7ac92f024c481ce1db47dedf141ccbd1
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 18 Jan 2022 12:41:12 -0800

Cleanup readme

Diffstat:
MREADME.txt | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.txt b/README.txt @@ -7,8 +7,9 @@ parser Based on https://github.com/k3a/html2text -Primarily useful for displaying HTML emails. YMMV depending on the structure of -the HTML you're trying to convert. +Primarily useful for displaying HTML emails as text. YMMV depending on the +structure of the HTML you're trying to convert. Built for the needs of +Crabmail: https://git.alexwennerberg.com/crabmail/ This library has one function, html2text, which takes a an html &str and returns a plain text String @@ -16,7 +17,7 @@ returns a plain text String on crates.io: https://crates.io/crates/nanohtml2text -comes with a command line utility in main.rs to process from stdin if you want +Comes with a command line utility in main.rs to process from stdin if you want to test/experiment with it Contributing