import { Marked } from "https://deno.land/x/gfm@0.3.0/deps.ts";
const { _Renderer } = Marked.Renderer;
Renderer
Methods
blockquote(quote: string): string
br(): string
checkbox(checked: boolean): string
code(): string
code: string,
infostring: string | undefined,
escaped: boolean,
codespan(text: string): string
del(text: string): string
em(text: string): string
heading(): string
text: string,
level: number,
raw: string,
hr(): string
html(html: string, block?: boolean): string
image(): string
href: string,
title: string | null,
text: string,
link(): string
href: string,
title: string | null | undefined,
text: string,
list(): string
body: string,
ordered: boolean,
start: number | "",
listitem(): string
text: string,
task: boolean,
checked: boolean,
paragraph(text: string): string
strong(text: string): string
span level renderer
table(header: string, body: string): string
tablecell(content: string, flags: { header: boolean; align: ; }): string
| "center"
| "left"
| "right"
| null
tablerow(content: string): string
text(text: string): string