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

x/gfm/mod.ts>Marked.Hooks._Hooks

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

Constructors

new
_Hooks(options?: MarkedOptions)

Properties

options: MarkedOptions

Methods

postprocess(html: string): string

Process HTML after marked is finished

preprocess(markdown: string): string

Process markdown before marked

Static Properties

passThroughHooks: Set<string>