1.1.0 • Published 19 days ago

marked v1.1.0

Weekly downloads
3,245,729
License
MIT
Repository
github
Last release
19 days ago

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

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

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)

servmixservingjssfftfthsfdx-jayreesfn-markdown-parsersg-md-links@axway/api-builder-runtime@beisen-cmps/ux-m-platform-user-select@botonic/plugin-contentful@botsquad/web-client@bots-gg/markupsinssimpledocskeldownskedjsharioshow-node-apisigma-gulp-ngdocssignavio-i18n@azu/doccoserverlessbotsession-ui-npm@barchart/documentation-generatorshader-schoolsimple-site@boundstate/ng-docs-cli@boundstate/tier-one-dgenisimple-wiki@bouzuya/kraken@bitjson/typedoc@bitliner/wonderdocshynode-markdown-preview@bitmain/markdown-loadersimon-runtime-deps@bolt/build-toolssimpler-paperskillstester-parserskyrim@cloudflare/util-markdownsocial-uisocketizerslidepislides-clislideshow-generatorslidey-termyslidifyslidown@cemderin/static-site-generatorslowjam@chengkang/wildfiresmart-api-booking-service@codecademy/gamut@codechecks/client@colin-luo/tree@colin-luo/tree-utils@colinarms/easymde@colatkinson/typedoc@colabo-knalledge/f-view_node@carolgmonteiro/md-linksslm-markdownsloth-docs@ceephax/documentsmcms@cindydove/md-loadersnowfrontsnowboard-theme-winter@clementprevot/jicli@codeparticle/whitelabelwallet.styleguide@codelenny/spectacle-docssnyk-to-htmlsoocrate-coresofajssofianeyra-mdlinkssorayasm-md-linksophon-notebook-rendermimesophon-rendermimesnk@clearmetrics/mustache-markdown@cob/ui-vue-componentssoldsolid-errorsolfegejs-markdown@cnmc/miscomponentesvuesokesoke-clientsoke-server@absolunet/tester@abcum/ember-appscaffdogscotch-blog@agilys/custom-graphiql@akitecht/workshopper@alifd/doc-parser@alifd/ice-devtoolssagemathcloud@amlopez333/mrhydesasamesashaysasa-demo0sceg
1.1.0

19 days ago

1.0.0

1 month ago

0.8.2

2 months ago

0.8.1

3 months ago

0.8.0

6 months ago

0.7.0

11 months ago

0.6.3

11 months ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.19

2 years ago

0.3.18

2 years ago

0.3.17

2 years ago

0.3.16

2 years ago

0.3.15

2 years ago

0.3.14

2 years ago

0.3.13

2 years ago

0.3.12

2 years ago

0.3.9

2 years ago

0.3.7

3 years ago

0.3.6

4 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4-1

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2-1

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago