marked

A markdown parser and compiler. Built for speed.

Github stars Tracking Chart

Marked

npm
gzip size
install size
downloads
dep
dev dep
travis
snyk

  • ⚡ 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)

Demo

Checkout the demo page to see marked in action ⛹️

Docs

Our documentation pages are also rendered using marked ?

Also read about:

Installation

CLI: npm install -g marked

In-browser: npm install marked

Usage

CLI

$ marked -o hello.html
hello world
^D
$ cat hello.html
<p>hello world</p>

Browser

<!doctype html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>Marked in the browser</title>
</head>
<body>
  <div id="content"></div>
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
  <script>
    document.getElementById('content').innerHTML =
      marked('# Marked in the browser\n\nRendered by **marked**.');
  </script>
</body>
</html>

License

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

Overview

Name With Ownermarkedjs/marked
Primary LanguageJavaScript
Program languageMakefile (Language Count: 3)
Platform
License:Other
Release Count168
Last Release Namev12.0.2 (Posted on )
First Release Namev0.0.1 (Posted on )
Created At2011-07-24 13:15:51
Pushed At2024-05-06 17:46:36
Last Commit At2024-05-06 11:46:35
Stargazers Count32k
Watchers Count385
Fork Count3.3k
Commits Count3.3k
Has Issues Enabled
Issues Count1454
Issue Open Count21
Pull Requests Count1312
Pull Requests Open Count4
Pull Requests Close Count410
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top