bfom-lib

Crates.iobfom-lib
lib.rsbfom-lib
version0.1.50
sourcesrc
created_at2021-08-07 18:09:19.994727
updated_at2024-04-28 20:50:30.838358
descriptionBrendan's Flavor of Markdown: I'll build my own markdown format, what could go wrong?
homepage
repositoryhttps://gitlab.com/silver_rust/bfom
max_upload_size
id432865
size124,279
Brendan Golden (Silver-Golden)

documentation

README

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.

Commit count: 393

cargo fmt