commit 77989212d3e56eca8931b3baad3cb497a57bcfa3
parent 10c2a0cbff320ad04fede44255be26a40679759d
Author: alex wennerberg <alex@alexwennerberg.com>
Date: Sat, 23 Apr 2022 21:49:21 -0700
README -> markdown
Diffstat:
2 files changed, 23 insertions(+), 26 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,23 @@
+nanohtml2text
+=============
+
+0-dependency library to convert HTML to text; an alternative to
+[html2text](https://crates.io/crates/html2text) that doesn't use a full
+browser-grade HTML parser
+
+Based on [this go html2text library](https://github.com/k3a/html2text)
+
+Primarily useful for displaying HTML emails as text. YMMV depending on the
+structure of the HTML you're trying to convert.
+
+This library has one function, html2text, which takes a an html &str and
+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
+to test/experiment with it
+
+Contributing
+------------
+git-send-email or git-request-pull to [my mailing list](https://lists.flounder.online/patches/)
diff --git a/README.txt b/README.txt
@@ -1,26 +0,0 @@
-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
-
-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
-
-on crates.io:
-https://crates.io/crates/nanohtml2text
-
-Comes with a command line utility in main.rs to process from stdin if you want
-to test/experiment with it
-
-Contributing
-------------
-git-send-email or git-request-pull to my mailing list:
-https://lists.flounder.online/patches/