Update README, get started

This commit is contained in:
alex wennerberg
2022-01-03 08:57:38 -08:00
parent 06549d688c
commit 8ad91b23d6
6 changed files with 54 additions and 6 deletions

13
README Normal file
View File

@@ -0,0 +1,13 @@
nanohtml2text
=============
0-dependency library to convert HTML to text; an alternative to https://crates.io/crates/html2text that doesn't use a full browser-grade HTML parser
Based on https://github.com/k3a/html2text -- basically a line-for-line rewreite
Useful for displaying HTML emails
Usage:
let s = "<b>Hacker mode</b>"
html2text(s);