1# html2runes 2 3[![Build Status](https://travis-ci.org/spacecowboy/html2runes.svg?branch=master)](https://travis-ci.org/spacecowboy/html2runes) 4 5A HTML to Text converter program written in Rust. Useful to convert html-only emails to plaintext for example. 6 7## Build 8 9```sh 10cargo build --release 11``` 12 13## Run 14 15`html2runes` reads html on STDIN and outputs plaintext (currently only markdown supported) on STDOUT: 16 17``` 18cat bad.html | target/release/html2runes 19``` 20 21Result: 22 23``` 24Text without a paragraph 25 26Text inside paragraph 27 28paragraph again 29new line but no ending tags yet and here comes a bull shit token BLA TEXT which should be ignored, and here comes an image ![no alt text](bla.png)invalid image txt 30[I am the link text](http://google.com) 31``` 32