import { type Marked } from "https://deno.land/x/gfm@0.4.0/deps.ts";
const { MarkedExtension } = Marked.MarkedOptions;
Properties
True will tell marked to await any walkTokens functions before parsing the tokens and returning an HTML string.
optional
extensions: TokenizerAndRendererExtension[] | undefined | nullAdd tokenizers and renderers to marked
optional
hooks: { preprocess: (markdown: string) => string | Promise<string>; postprocess: (html: string) => string | Promise<string>; options?: MarkedOptions; } | nullHooks are methods that hook into some part of marked. preprocess is called to process markdown before sending it to marked. postprocess is called to process html after marked has finished parsing.
Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.