aboutsummaryrefslogtreecommitdiff
path: root/CommonMark.dtd
AgeCommit message (Collapse)Author
2016-11-07Revert "CommonMark.dtd: rename root element document -> CommonMark."John MacFarlane
This reverts commit f06712a45edc385e59617aa455570d8bb2acb6d9. This needs further thought.
2016-11-07CommonMark.dtd: rename root element document -> CommonMark.John MacFarlane
Root element must match filename of the DTD, according to the XML spec. See https://talk.commonmark.org/t/the-ast-output-from-dingus-is-invalid-xml-according-to-xmllint/2284
2015-12-31CommonMark.dtd - allow item in custom_block.John MacFarlane
2015-12-28DTD - Rename html -> html_block, inline_html -> html_inline.John MacFarlane
For consistency.
2015-12-28DTD - allow custom_block to contain either blocks or inlines children.John MacFarlane
2015-12-27dtd - added xmlns attribute to document, fixed typos.John MacFarlane
2015-12-27CommonMark.dtd - added custom_block, custom_inline.John MacFarlane
2015-12-22Rename 'horizontal rule' -> 'thematic break'.John MacFarlane
This matches the HTML5 meaning for the hr element, and recognizes that the element may be rendered in various ways (not always as a horizontal rule). See http://talk.commonmark.org/t/horizontal-rule-or-thematic-break/912/3 IN the DTD hrule is renamed 'thematic_break'.
2015-12-22Rename 'header' -> 'heading'.John MacFarlane
This avoids a confusion that might arise now that HTML5 has a 'header' element, distinct from the 'headings' h1, h2, ... Our headings correspond to HTML5 headings, not HTML5 headers. The terminology of 'headings' is more natural, too. The only thing going for 'header' is that John Gruber used it in his original Markdown syntax description. See http://talk.commonmark.org/t/naming-of-h1-6-should-be-headings-not-headers-per-w3c/1871
2015-02-14Added comment on sourcepos attribute format in dtd.John MacFarlane
Closes #298.
2015-01-11xml format: use 'destination' instead of 'url', like the spec.John MacFarlane
2015-01-04Improved DTD readability with entities.John MacFarlane
2014-12-28Rename CMARK_NODE_LIST_ITEM -> CMARK_NODE_ITEM.John MacFarlane
2014-12-28Revamped xml writer and dtd to use lowercase element names.John MacFarlane
2014-12-28Added xml writer, to dump the AST in XML.John MacFarlane
This is a work-in-progress. CommonMark.dtd gives the DTD for the generated XML. Closes #53.