markdown parser and html renderer written in Gleam language ver 1.0.0.
import kirala/bbmarkdown/parser
fn parse_markdown(markdown: String) {
let ast = parser.parse(1, bit_array.from_string(markdown))
}
import kirala/bbmarkdown/html_renderer
fn markdown_to_html(markdown: String) -> String {
let html = html_renderer.convert(markdown)
}