Constructors
constructor
- new Renderer<T>(options?): Renderer<T>
Properties
options
Methods
blockquote
- blockquote(this, quote): string | T
Returns string | T
br
- br(this): string | T
Returns string | T
checkbox
- checkbox(this, checked): string | T
Returns string | T
code
- code(this, code, language, isEscaped): string | T
Returns string | T
codespan
- codespan(this, code): string | T
Returns string | T
del
- del(this, text): string | T
Returns string | T
em
- em(this, text): string | T
Returns string | T
heading
- heading(this, text, level, raw, slugger): string | T
Returns string | T
hr
- hr(this): string | T
Returns string | T
html
- html(this, html): string | T
Returns string | T
image
- image(this, href, title, text): string | T
Returns string | T
link
- link(this, href, title, text): string | T
Returns string | T
list
- list(this, body, ordered, start): string | T
Returns string | T
listitem
- listitem(this, text, task, checked): string | T
Returns string | T
paragraph
- paragraph(this, text): string | T
Returns string | T
strong
- strong(this, text): string | T
Returns string | T
table
- table(this, header, body): string | T
Returns string | T
tablecell
- tablecell(this, content, flags): string | T
Parameters
- this: Renderer<never> | RendererThis
- content: string
- flags: {
align: null | "center" | "left" | "right";
header: boolean;
}align: null | "center" | "left" | "right"
header: boolean
Returns string | T
tablerow
- tablerow(this, content): string | T
Returns string | T
text
- text(this, text): string | T
Returns string | T