Go to file
Tony Brix f17f55f9d9
chore(docs): update versioning and other docs (#1834)
Co-authored-by: Steven <steven@ceriously.com>
2020-11-18 14:20:03 -06:00
.github chore(deps): dependabot version increase 2020-10-21 08:35:15 -05:00
api Marked.js => Marked 2020-08-10 10:11:14 -04:00
bin marked --help 2019-12-26 16:09:02 -03:00
docs chore(docs): update versioning and other docs (#1834) 2020-11-18 14:20:03 -06:00
lib 🗜️ build [skip ci] 2020-11-15 02:04:54 +00:00
man remove tables option 2019-07-02 00:23:57 -05:00
src fix: no strikethrough on different number of tildes (#1821) 2020-11-14 20:03:39 -06:00
test fix: no strikethrough on different number of tildes (#1821) 2020-11-14 20:03:39 -06:00
.editorconfig style 2018-04-05 11:36:07 -04:00
.eslintignore fix eslint config 2019-11-05 15:31:11 -06:00
.eslintrc.json create tokens before sending to parser 2020-04-02 00:24:21 -05:00
.gitattributes Fix GitHub language via override 2018-02-15 11:28:53 -05:00
.gitignore Copy license to docs 2020-08-15 19:42:22 -04:00
bower.json Fix urls to markedjs 2018-03-03 14:20:24 -05:00
build-docs.js Fix lint 2020-08-29 18:49:48 -04:00
component.json Fix urls to markedjs 2018-03-03 14:20:24 -05:00
index.js index 2011-08-14 00:07:51 -05:00
jasmine.json abstract htmldiffer 2019-03-13 08:50:11 -05:00
LICENSE.md chore(docs): update versioning and other docs (#1834) 2020-11-18 14:20:03 -06:00
Makefile generate textual manpage 2018-01-09 15:07:01 +01:00
marked.min.js 🗜️ build [skip ci] 2020-11-15 02:04:54 +00:00
package-lock.json chore(deps-dev): Bump @markedjs/html-differ from 3.0.3 to 3.0.4 (#1830) 2020-11-16 00:11:17 -06:00
package.json chore(deps-dev): Bump @markedjs/html-differ from 3.0.3 to 3.0.4 (#1830) 2020-11-16 00:11:17 -06:00
README.md chore(docs): update versioning and other docs (#1834) 2020-11-18 14:20:03 -06:00
release.config.js chore: use semantic release (#1767) 2020-10-21 08:21:12 -05:00
rollup.config.esm.js Update copyright year 2019-11-11 11:24:05 -06:00
rollup.config.js Use Babel's loose mode for shorted & more performant code 2019-12-04 17:29:13 +01:00
SECURITY.md Update SECURITY.md 2020-08-10 19:28:17 -05:00
vercel.json Use cleanUrls 2020-08-29 17:55:07 -04:00

Marked

npm gzip size install size downloads 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)