Skip to main content

Marky

A tiny Markdown parser written in TypeScript that spits out HTML. Currently supports only a subset of the Markdown spec. Meant to be used with Deno.

Usage

import { marky } from 'https://deno.land/x/marky/mod.ts';

const html = marky('**hi there**'); // => <p><strong>hi there</strong></p>

To-do

  • Parse bold text
  • Parse italic text
  • Parse paragraphs
  • Parse inline code
  • Parse striked out text
  • Parse underlined text
  • Parse headings
  • Parse code blocks
  • Parse links
  • Parse images
  • Parse quote blocks (and nested quote blocks!)
  • Parse unordered lists (and nested lists!)
  • Parse ordered lists (and nested lists!)
  • Parse horizontal line separators