Marked
Markdown parser and compiler written in JavaScript that converts Markdown to HTML in browsers and on Node.js.
marked.js.orgrepositorydocsplugins
Marked is a Markdown compiler that turns Markdown into HTML. It runs in a browser or on Node.js, and it can also be used from a command line interface. It is built for speed and parses without caching, and custom extensions can be added to adapt it.
The MarkedJS organization maintains it, and the project’s own documentation pages are rendered with Marked.
Worth knowing
Marked does not sanitize the HTML it outputs. The README recommends passing the output through a sanitizer such as DOMPurify before it is shown to users.
Node.js support covers only the current and LTS release lines.
Sources
- 2026-11-16: links
marked.js.org/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/markedjs/marked - 2026-11-16: links, Categories, Runtime, Install with
github.com/markedjs/marked/blob/master/README.md - 2026-11-16: links
marked.js.org/using_advanced - 2026-11-16: Maintainer, Maintained by, License, License model
github.com/markedjs/marked/blob/master/LICENSE - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/marked - 2026-11-16: License
github.com/markedjs/marked/blob/v18.2.0/package.json - 2026-11-16: Current major version, Last release
api.github.com/repos/markedjs/marked/releases - 2026-11-16: First release
registry.npmjs.org/marked - 2026-11-16: Contributors
api.github.com/repos/markedjs/marked/contributors?per_page=1