Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/gfm/deps.ts>Marked.Renderer._Renderer

Server-side GitHub Flavored Markdown rendering for Deno
Go to Latest
class Marked.Renderer._Renderer
import { Marked } from "https://deno.land/x/gfm@0.3.0/deps.ts";
const { _Renderer } = Marked.Renderer;

Renderer

Constructors

new
_Renderer(options?: MarkedOptions)

Properties

options: MarkedOptions

Methods

blockquote(quote: string): string
br(): string
checkbox(checked: boolean): string
code(
code: string,
infostring: string | undefined,
escaped: boolean,
): string
codespan(text: string): string
del(text: string): string
em(text: string): string
heading(
text: string,
level: number,
raw: string,
): string
hr(): string
html(html: string, block?: boolean): string
image(
href: string,
title: string | null,
text: string,
): string
list(
body: string,
ordered: boolean,
start: number | "",
): string
listitem(
text: string,
task: boolean,
checked: boolean,
): string
paragraph(text: string): string
strong(text: string): string

span level renderer

table(header: string, body: string): string
tablecell(content: string, flags: { header: boolean; align:
| "center"
| "left"
| "right"
| null
; }
): string
tablerow(content: string): string
text(text: string): string