aboutsummaryrefslogtreecommitdiff
path: root/js/lib/index.js
blob: d78a5b2bf770f11abbc96c3b0ffbeef74a249e66 (plain)
  1. "use strict";
  2. // commonmark.js - CommomMark in JavaScript
  3. // Copyright (C) 2014 John MacFarlane
  4. // License: BSD3.
  5. // Basic usage:
  6. //
  7. // var commonmark = require('commonmark');
  8. // var parser = new commonmark.DocParser();
  9. // var renderer = new commonmark.HtmlRenderer();
  10. // console.log(renderer.render(parser.parse('Hello *world*')));
  11. module.exports.Node = require('./node');
  12. module.exports.DocParser = require('./blocks');
  13. module.exports.HtmlRenderer = require('./html');
  14. module.exports.XmlRenderer = require('./xml');