UNPKG

comrak

Version:

TypeScript and WebAssembly bindings for comrak, a blazing fast CommonMark and GFM compatible Markdown-to-HTML tool written in Rust.

29 lines (26 loc) 873 B
// @generated file from wasmbuild -- do not edit // deno-lint-ignore-file // deno-fmt-ignore-file export function markdown_to_html(md: string, opts: Options): string; export interface Options { extension_autolink: boolean; extension_description_lists: boolean; extension_footnotes: boolean; extension_front_matter_delimiter?: string; extension_header_ids?: string; extension_strikethrough: boolean; extension_superscript: boolean; extension_table: boolean; extension_tagfilter: boolean; extension_tasklist: boolean; parse_default_info_string?: string; parse_smart: boolean; parse_relaxed_tasklist_matching?: boolean; render_escape: boolean; render_full_info_string?: boolean; render_github_pre_lang: boolean; render_hardbreaks: boolean; render_list_style?: "dash" | "plus" | "star"; render_unsafe: boolean; render_width: number; }