MIT Latest Version docs Chat on Miaou

A simple, non universal purpose, markdown parser.

If you're looking for a Markdown parser, this one is probably not the one you want:

Minimad can be used on its own but is first designed for the termimad lib, which displays static and dynamic markdown snippets on a terminal without mixing the skin with the code. Minimad sports a line-oriented flat structure (i.e. not a tree) which might not suit your needs.

If you still think you might use Minimad directly (not through Temimad), you may contact me on Miaou for advice.

Usage

toml [dependencies] minimad = "0.5"

```rust asserteq!( Line::from("## a header with some bold!"), Line::newheader( 2, vec![ Compound::rawstr("a header with some "), Compound::rawstr("bold").bold(), Compound::raw_str("!"), ] ) );

asserteq!( Line::from("Hello ~~wolrd~~ World. *Code*: sqrt(π/2)"), Line::newparagraph(vec![ Compound::rawstr("Hello "), Compound::rawstr("wolrd").strikeout(), Compound::rawstr(" "), Compound::rawstr("World").bold(), Compound::rawstr(". "), Compound::rawstr("Code").italic(), Compound::rawstr(": "), Compound::rawstr("sqrt(π/2)").code(), ]) ); ```