aboutsummaryrefslogtreecommitdiff
path: root/js/lib/index.js
blob: 86eea716d8e2b984878e91d8d03050837ac7a87a (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.Parser();
  9. // var renderer = new commonmark.HtmlRenderer();
  10. // console.log(renderer.render(parser.parse('Hello *world*')));
  11. module.exports.Node = require('./node');
  12. module.exports.Parser = require('./blocks');
  13. module.exports.HtmlRenderer = require('./html');
  14. module.exports.XmlRenderer = require('./xml');