markdtohtml 0.1.1

Tool to convert markdown files to html files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use markdtohtml::lexical;
use std::fs::{read_dir, DirEntry};
use std::io::Result;
use std::path::PathBuf;

fn main() -> Result<()> {
    for entry in read_dir(".")? {
        let entry: DirEntry = entry?;
        let path: PathBuf = entry.path();
        lexical(path)?;
    }
    Ok(())
}