Marked Markdown



The departmentstore marked down their prices on women's sandals. To give a poorgrade to a student. Marked.use (options) is the recommended way to extend marked. The options object can contain any option available in marked. The renderer and tokenizer options can be an object with functions that will be merged into the renderer and tokenizer respectively. The renderer and tokenizer functions can return false to fallback to the previous function. Multitran.com: Free online dictionary in English, German, French, Spanish.

A markdown parser and compiler. Built for speed. Contribute to markedjs/marked development by creating an account on GitHub.

Marked is

  1. built for speed.*
  2. a low-level markdown compiler for parsing markdown without caching or blocking for long periods of time.**
  3. light-weight while implementing all markdown features from the supported flavors & specifications.***
  4. available as a command line interface (CLI) and running in client- or server-side JavaScript projects.

* Still working on metrics for comparative analysis and definition.
** As few dependencies as possible.
*** Strict compliance could result in slower processing when running comparative benchmarking.

Demo

Marked Markdown Color

Checkout the demo page to see marked in action ⛹ī¸

These documentation pages are also rendered using marked đŸ’¯

Installation

CLI:npm install -g marked

In-browser:npm install marked

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

Browser

Marked Markdown

Node.js

Marked offers advanced configurations and extensibility as well.

Supported Markdown specifications

We actively support the features of the following Markdown flavors.

Marked Markdown
FlavorVersionStatus
The original markdown.pl--
CommonMark0.29Work in progress
GitHub Flavored Markdown0.29Work in progress

By supporting the above Markdown flavors, it's possible that Marked can help you use other flavors as well; however, these are not actively supported by the community.

Marked Js

Security

The only completely secure system is the one that doesn't exist in the first place. Having said that, we take the security of Marked very seriously.

Marked Markdown Footnotes

Therefore, please disclose potential security issues by email to the project committers as well as the listed owners within NPM. We will provide an initial assessment of security reports within 48 hours and should apply patches within 2 weeks (also, feel free to contribute a fix for the issue).