Github url


by markedjs

markedjs /marked

A markdown parser and compiler. Built for speed.

22.8K Stars 2.8K Forks Last release: about 2 months ago (v1.1.0) Other 2.1K Commits 60 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


npmgzip sizeinstall sizedownloadsdepdev depgithub actionssnyk

  • ⚡ built for speed
  • ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time
  • ⚖️ light-weight while implementing all markdown features from the supported flavors & specifications
  • 🌐 works in a browser, on a server, or from a command line interface (CLI)


Checkout the demo page to see marked in action ⛹️


Our documentation pages are also rendered using marked 💯

Also read about:



npm install -g marked


npm install marked


Warning: 🚨 Marked does not sanitize the output HTML. Please use a sanitize library, like DOMPurify (recommended), sanitize-html or insane on the output HTML! 🚨


$ marked -o hello.html hello world ^D $ cat hello.html

hello world


<meta charset="utf-8"><title>Marked in the browser</title>

<script src=""></script><script>
    document.getElementById('content').innerHTML =
      marked('# Marked in the browser\n\nRendered by **marked**.');


Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.