convert in mdman - Rust (original) (raw)

mdman

Function convert

Source

pub fn convert(
    file: &Path,
    format: Format,
    url: Option<Url>,
    man_map: ManMap,
) -> Result<String, Error>

Expand description

Converts the handlebars markdown file at the given path into the given format, returning the translated result.