[][src]Function cmark_gfm_sys::cmark_markdown_to_html

pub unsafe extern "C" fn cmark_markdown_to_html(
    text: *const c_char,
    len: usize,
    options: c_int
) -> *mut c_char

Convert 'text' (assumed to be a UTF-8 encoded string with length 'len') from CommonMark Markdown to HTML, returning a null-terminated, UTF-8-encoded string. It is the caller's responsibility to free the returned buffer.