cmark-gfm/js
John MacFarlane c3db8b1dbd Bump version on package.json. 2014-11-11 16:55:08 -08:00
..
ansi Added ansi so we don't need to install anything to run testjs. 2014-08-13 22:56:32 -07:00
bin Rename js/bin/markdown -> js/bin/commonmark. 2014-10-24 21:19:17 -07:00
lib Allow images to contain images. 2014-11-10 10:52:11 -08:00
.npmignore Added packaging for npm module 'commonmark'. 2014-11-04 21:10:17 -08:00
LICENSE Initial commit 2014-08-13 22:56:32 -07:00
README.md Added packaging for npm module 'commonmark'. 2014-11-04 21:10:17 -08:00
bench.js More stmd -> commonmark changes. 2014-10-24 20:43:02 -07:00
index.html Added clear and permalink to dingus. 2014-10-26 20:50:01 -07:00
package.json Bump version on package.json. 2014-11-11 16:55:08 -08:00
test.js Merge pull request #140 from arthur-peka/master 2014-10-24 20:46:29 -07:00

README.md

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);