aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
AgeCommit message (Collapse)Author
2015-12-28Shortened example that wrapped.John MacFarlane
Closes #371.
2015-12-28ATX headers: clarify that a space (or EOL) is needed.John MacFarlane
Other whitespace won't do. Added a test case and modified an existing one to make this clearer. Closes #373.
2015-12-28Minor improvements to entity section.John MacFarlane
2015-12-28Rewrote "Entities" section with more correct terminology.John MacFarlane
Entity references and numeric character references. Closes #375.
2015-12-28Fixed some HTML inline tests...John MacFarlane
which were actually HTML blocks, given the changes to block parsing rules since these examples were written. Closes #382.
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-12-22Minor spacing adjustments in test output.John MacFarlane
This is to match cmark's output, since we test cmark without normalization.
2015-12-22Small adjustment to new test case for indented code in list.John MacFarlane
Reworded the description, added a case with two blank lines.
2015-12-22New test case: list item code block with empty lineCraig M. Brandenburg
2015-10-19Fixed duplicate id 'attribute'.John MacFarlane
2015-10-18Fix four link targetsLucas Werkmeister
2015-09-24Fix typo for link to "attributes"Robin Stocker
2015-09-08Fix 'delimiter' spellings and linksSam Rawlins
2015-08-23Bump spec version to 0.22.John MacFarlane
2015-08-18Added `iframe` to list of tags that always start HTML blocks.John MacFarlane
See http://talk.commonmark.org/t/raw-html-blocks-proposals-comments-wanted/983/66?u=jgm and following comments. Closes #352.
2015-08-16Reflow paragraph to avoid unwanted list item.John MacFarlane
Closes #361.
2015-08-15Reflow paragraph to avoid unwanted list item.John MacFarlane
Closes #360.
2015-08-11Fix typoDaniel G. Taylor
Fixes a minor grammatical error found when reading through the spec.
2015-08-11Removed ambiguities concerning lines and line endings.John MacFarlane
The previous spec allowed, technically, that a line ending in CR NL might be considered to have two line endings, or that the CR might be considered part of the line and the NL the line ending. These fixes rule out those interpretations. Closes #357. Thanks to Lasse R.H. Nielsen.
2015-08-11Small clarifications about ATX headers.John MacFarlane
Clarified that closing `#`s must be unescaped. Removed misleading reference to "non-whitespace character" in example. Closes #356.
2015-08-11Changed anchor for "non-whitespace character" to reflect new name.John MacFarlane
2015-08-11Merge pull request #351 from robinst/tabs-example-mixed-indented-code-blockJohn MacFarlane
Add an example with mixed indentation code block in "Tabs" section
2015-08-07Removed pre tag from rule 6 of html blocks.John MacFarlane
It is already covered by rule 1, so this removes an ambiguity. Closes #355.
2015-07-28Clarified rule 7 for HTML blocks.John MacFarlane
pre, script, style are excluded because they're covered by other rules.
2015-07-27Added example of list item starting with two blanks.John MacFarlane
Closes #332.
2015-07-25More direct example of type 7 html block starting with closing tag.John MacFarlane
2015-07-25Clarified that type 7 HTML blocks can start with a closing tag.John MacFarlane
Closes #349.
2015-07-25Added test case clarifying laziness in block quotes.John MacFarlane
See jgm/commonmark.js#60.
2015-07-20Add an example with mixed indentation code block in "Tabs" sectionRobin Stocker
This makes sure that implementations skip columns instead of offsets for continued indented code blocks. Background: I was implementing the new tab logic and was surprised that all the spec tests passed even though I hadn't changed the continuation logic of indented code blocks to skip columns. The added example checks this.
2015-07-20Don't list "title" twice as HTML block tagRobin Stocker
It's already listed in alphabetical order on the next line.
2015-07-16Clarify character = any code point.John MacFarlane
2015-07-16Space in "code point".John MacFarlane
2015-07-16Capitalize Unicode.John MacFarlane
2015-07-14Added date on spec.John MacFarlane
2015-07-14Version 0.21.John MacFarlane
2015-07-14Added 9-digit limit on ordered list start number.John MacFarlane
Intent is to avoid problems with overflows. See http://talk.commonmark.org/t/what-is-or-what-should-be-the-range-of-indices-of-ordered-list-items/1249 Some browsers use signed 32-bit integers for indexing the items of an ordered list, and this can lead to odd or undefined behavior if 10-digit start numbers are allowed.
2015-07-12Revised "A parsing strategy."John MacFarlane
Added description of emphasis/link parsing algorithm.
2015-07-11Allow (non-initial) hyphens in tag names.John MacFarlane
This, together with previous changes in HTML block spec, closes #239.
2015-07-11Fixed whitespace in one example.John MacFarlane
2015-07-11Clarified that HTML block is closed at end of containing block.John MacFarlane
Not just end of the document. (Parallel to fenced code blocks.)
2015-07-10Fixed broken "pre" literal HTML example.John MacFarlane
Insides weren't escaped properly.
2015-07-10New spec for HTML blocks.John MacFarlane
2015-07-10Simplified defn of "unicode whitespace character."John MacFarlane
Rectify omission of line tabulation, U+000B. Closes #343.
2015-07-10Removed ambiguity in definition of "line."John MacFarlane
Closes #346.
2015-07-10Rewrapped two lines so `+` does not begin a line.John MacFarlane
Closes #347. Thanks for pointing this out. We might want to revisit the decision to allow a list to interrupt a paragraph. It's a minority opinion: http://johnmacfarlane.net/babelmark2/?normalize=1&text=Text+text%0A-+one%0A-+two%0A And, in fact, in our initial discussions I was pretty strongly opposed to it. Others felt strongly that people would naturally create lists this way, and that it should be allowed. Some of this is sumarized here: http://talk.commonmark.org/t/requiring-a-blank-line-between-a-paragraph-and-list/657 The thread is a bit noisy but the point that sways me most is here: http://talk.commonmark.org/t/requiring-a-blank-line-between-a-paragraph-and-list/657/13?u=jgm
2015-07-06Fixed link to 'attributes'.John MacFarlane
2015-06-30Consolidated fragment tests, added query example.John MacFarlane
2015-06-30add spec examples showing the use of fragment identifiers in linksDavid Green
2015-06-26Merge pull request #338 from zudov/non-whitespaceJohn MacFarlane
Rename "non-space" to "non-whitespace"