Skip to main content
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.4.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>