[][src]Function md2gemtext::convert

pub fn convert(markdown_text: &str) -> String

Converts a given string of Markdown to semi-equivalent gemtext.

Panics

Will panic if gemtext::render somehow produces invalid UTF-8. Since gemtext::render only produces valid UTF-8, this should never happen.