#markdown #markdown-converter #format #flavor #own #external #bfom

bfom-lib

Brendan's Flavor of Markdown: I'll build my own markdown format, what could go wrong?

25 releases

0.1.52 Aug 12, 2024
0.1.50 Apr 28, 2024
0.1.48 Sep 24, 2023
0.1.47 May 2, 2023
0.1.35 Sep 19, 2021

#1013 in Text processing


Used in 2 crates

MIT/Apache

93KB
3K SLoC

Brendan's Flavor of Markdown

Library

About

This is the library that powers my BFoM converter.
Since this was created in part to expand my knowledge of rust it has no external dependencies.

Useage

To use in your own project add it to the Cargo.toml:

[dependencies]
bfom-lib = "0.1"
use bfom_lib::{Config, Converter, Template};

fn main () -> Result<(), std::io::Error> {
    // new uses inbuilt defaults if its passed None
    let mut converter = Converter::new(None);
    converter.convert()?;
}

If you want to override the defaults please have a look at BFoM.

No runtime deps