shrub/outside/commonmark/js
2014-12-03 17:03:42 -05:00
..
ansi Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
bin Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
lib Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
.npmignore Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
bench.js Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
index.html Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
LICENSE Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
package.json Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
README.md Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00
test.js Merge commit '7894810906c8213feba3ebd7be89b62a6ed89122' as 'outside/commonmark' 2014-12-03 17:03:42 -05:00

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