html2md 0.2.15

Library and binary to convert simple html documents into markdown
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate html2md;

use std::io::{self, Read};

fn main() {
    let stdin = io::stdin();
    let mut buffer = String::new();
    let mut handle = stdin.lock();

    handle.read_to_string(&mut buffer).expect("Must be readable HTML!");
    println!("{}", html2md::parse_html(&buffer));
}