Marked

Marked is 1. built for speed.* 2. a low-level markdown compiler that allows frequent parsing of large chunks of 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.

Installation

**CLI:** `npm install -g marked` **In-browser:** `npm install marked --save`

Usage

**CLI** ``` bash $ marked -o hello.html hello world ^D $ cat hello.html

hello world

``` **Browser** ```html Marked in the browser
``` Marked offers [advanced configurations](https://github.com/markedjs/marked/blob/master/USAGE_ADVANCED.md) and [extensibility](https://github.com/markedjs/marked/blob/master/USAGE_EXTENSIBILITY.md) as well.

Supported Markdown specifications

We actively support the features of the following [Markdown flavors](https://github.com/commonmark/CommonMark/wiki/Markdown-Flavors). |Flavor |Version | |:----------------------------------------------------------|:----------| |The original markdown.pl |-- | |[CommonMark](http://spec.commonmark.org/0.28/) |0.28 | |[GitHub Flavored Markdown](https://github.github.com/gfm/) |0.28 | 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.

Contributing

The marked community enjoys a spirit of collaboration and contribution from all comers. Whether you're just getting started with Markdown, JavaScript, and Marked or you're a veteran with it all figured out, we're here to help you improve as a professionally while helping improve Marked technically. Please see our [contributing documentation](https://github.com/markedjs/marked/blob/master/CONTRIBUTING.md) for more details. For our Contribution License Agreement, see our [license](https://github.com/markedjs/marked/blob/master/LICENSE.md).

Authors

For list of credited authors and contributors, please see our [authors page](https://github.com/markedjs/marked/blob/master/AUTHORS.md).

License

Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License) See [license](https://github.com/markedjs/marked/blob/master/LICENSE.md) for more details.