Skip to main content
Module

x/markdown/mod.ts>Marked.parse

Deno Markdown module forked from https://github.com/ts-stack/markdown/tree/bb47aa8e625e89e6aa84f49a98536a3089dee831
Latest
method Marked.parse
Re-export
import { Marked } from "https://deno.land/x/markdown@v2.0.0/mod.ts";

Accepts Markdown text and returns an object containing HTML and metadata.

Parameters

src: string

String of markdown source to be compiled.

optional
options: MarkedOptions = [UNSUPPORTED]

Hash of options. They replace, but do not merge with the default options. If you want the merging, you can to do this via Marked.setOptions().