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

x/gfm/mod.ts>Marked.TextRenderer._TextRenderer

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

TextRenderer returns only the textual part of the token

Methods

br(): string
codespan(text: string): string
del(text: string): string
em(text: string): string
html(text: string): string
image(
href: string,
title: string | null,
text: string,
): string
strong(text: string): string
text(text: string): string