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

x/fresh/www/utils/markdown.ts>renderMarkdown

The next-gen web framework.
Extremely Popular
Go to Latest
function renderMarkdown
import { renderMarkdown } from "https://deno.land/x/fresh@1.6.7/www/utils/markdown.ts";

Parameters

input: string
optional
opts: MarkdownOptions = [UNSUPPORTED]

Returns

{ headings: MarkdownHeading[]; html: string; }