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

Goldmark

A very fast Markdown compiler for Deno 🦕

Powered by Go’s Goldmark compiled to WASM.

Usage

Basic Example

import { transform } from "https://deno.land/x/goldmark/mod.ts";

const markdown = await Deno.readTextFile('./content.md');
const { frontmatter, content } = await transform(markdown)

console.log(frontmatter);
console.log(content);