Skip to main content
Module

x/diplodocus/marked.ts>Marked.parse

🦕 Deno Deploy Docs 📓
Latest
method Marked.parse
Re-export
import { Marked } from "https://deno.land/x/diplodocus@0.0.4/marked.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().

Returns

Parsed