JSPM

  • Created
  • Published
  • Downloads 888324
  • Score
    100M100P100Q177280F
  • License BSD-3-Clause

a strongly specified, highly compatible variant of Markdown

Package Exports

  • commonmark
  • commonmark/lib/blocks

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (commonmark) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CommonMark

CommonMark is a rationalized version of Markdown syntax, with a spec and BSD3-licensed reference implementations in C and JavaScript.

For more information, see http://commonmark.org.

To play with this library without installing it, see the live dingus at http://spec.commonmark.org/dingus.html.

This package includes the commonmark library and a command-line executable, commonmark.

Basic usage example:

var reader = new commonmark.DocParser();
var writer = new commonmark.HtmlRenderer();
var parsed = reader.parse("Hello *world*");
var result = writer.render(parsed);