0.0.6 • Published 4 years ago

mdhl v0.0.6

Weekly downloads
16
License
MIT
Repository
github
Last release
4 years ago

mdhl build bundlephobia npm

Markdown highlighter

  • Tiny: ~1KB gzipped
  • Simple: pass markdown string, get highlighted html
  • Fast: faster than popular highlighters

Installation

via npm:

npm i mdhl

hotlinking from unpkg:

import { higlight } from "https://unpkg.com/mdhl?module";

Usage

import { highlight } from "mdhl";

const markdown = "# hi there!";

highlight(markdown); // => "<span class='mdhl-heading'># hi there!</span>"

License

MIT

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.3

4 years ago