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

x/gfm/deps.ts>Marked.helpers.escape

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

Parameters

html: string
optional
encode: boolean

Returns

string