2020-08-29 17:55:07 -04:00
2020-04-01 16:28:35 -05:00
2020-08-10 10:11:14 -04:00
2019-12-26 16:09:02 -03:00
2020-08-29 17:55:07 -04:00
2020-08-13 14:34:54 +00:00
2019-07-02 00:23:57 -05:00
2018-04-05 11:36:07 -04:00
2019-11-05 15:31:11 -06:00
2020-08-15 19:42:22 -04:00
2018-03-03 14:20:24 -05:00
2020-08-16 23:34:13 -04:00
2018-03-03 14:20:24 -05:00
2011-08-14 00:07:51 -05:00
2019-03-13 08:50:11 -05:00
2018-10-16 21:16:43 -04:00
2018-01-09 15:07:01 +01:00
2020-08-13 14:34:54 +00:00
2020-08-16 23:34:13 -04:00
2020-08-16 23:34:13 -04:00
2020-04-01 00:53:50 -05:00
2019-11-11 11:24:05 -06:00
2020-08-10 19:28:17 -05:00
2020-08-29 17:55:07 -04:00

Marked

npm gzip size install size downloads dep dev dep github actions 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)

Description
A markdown parser and compiler. Built for speed.
Readme 18 MiB
Languages
JavaScript 35%
TypeScript 35%
HTML 30%