summaryrefslogtreecommitdiff
path: root/js/lib/html.js
AgeCommit message (Collapse)Author
2015-01-09JS: Renamed 'c' property to 'literal' to match libcmark.John MacFarlane
2015-01-09Added options to render, implemented sourcepos option.John MacFarlane
This adds data-sourcepos attributes on block-level tags in the HTML output. Also added `--sourcepos` command-line option to `js/bin/commonmark`.
2015-01-09JS: use c rather than string_content property for code blocks, html.John MacFarlane
string_content is just for the raw string content that will be parsed as inlines, not for the 'real' content of the block element.
2015-01-09Rewrote HTML escaping for big performance gain.John MacFarlane
2015-01-09Made `tight` a property of `list_data`.John MacFarlane
2015-01-09JS linter improvements.John MacFarlane
(Note: this is helping performance. We have regained everything we lost with the last major change, and more.)
2015-01-09Rename js/lib/html-renderer.js -> js/lib/html.js.John MacFarlane