aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
AgeCommit message (Collapse)Author
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"
2015-06-24Add -dev suffix to Spec Version after every releaseeksperimental
2015-06-24Rename "non-space" to "non-whitespace"Konstantin Zudov
See issue #337
2015-06-16Preliminary spec changes for new tab handling.John MacFarlane
Instead of having a preprocessing step where tabs are converted to spaces, we now handle tabs directly in the parser. This allows tabs to be retained in code blocks and code spans. This commit adds some general language to the effect that, for purposes of determining block structure, tabs are to be treated just like equivalent spaces. Much more work is needed on the spec regarding spaces and tabs, but this change (and corresponding changes to the implementations) is a start.
2015-06-15Merge pull request #331 from balpha/patch-1John MacFarlane
Specify nested link definition behavior in prose
2015-06-15Add a test for an edge case in link reference parsing.Benjamin Dumke-von der Ehe
This tests for the issue that's fixed in jgm/commonmark.js#49.
2015-06-13Added test cases with a literal backslash in a link destination.John MacFarlane
See jgm/commonmark.js#45.
2015-06-13Added test for entity `≧̸` which resolves to two code points.John MacFarlane
Put entity tests on several lines for readability. See jgm/commonmark.js#47.
2015-06-11Specify nested link definition behavior in proseBenjamin Dumke-von der Ehe
The behavior was already specified in examples 426, 427, 428, 440, 441; this change merely describes it in the textual part.
2015-06-09Added another test with overlapping emphasis markers.John MacFarlane
2015-06-08Bump version and date to 0.20.John MacFarlane
2015-06-08Clarified precedence of indentation: code block vs. list item.John MacFarlane
Added examples.
2015-06-08Clarified lazy block quote examples. (Closes #328.)John MacFarlane
2015-06-08Clarify that tab expansion is preprocessing (closes #330).John MacFarlane
2015-06-07Define "space," revise "non-space character".John MacFarlane
Previously a non-space character was defined as anything but a space (U+0020). Now it is anything that is not a whitespace character (as defined in the spec).
2015-06-07Reword to avoid implying that all blocks can contain other blocks.John MacFarlane
2015-06-06Added example with loose list and 4-space indent.John MacFarlane
2015-06-04Fix whitespace error in test.John MacFarlane
2015-06-04Require a nonspace character in link label.John MacFarlane
Closes #322. Added example.
2015-06-04Clarify that entities resolving to U+0000 are replaced by U+FFFD.John MacFarlane
Closes #323.
2015-06-04Require replacement of U+0000. Closes #327.John MacFarlane
Previously we said that NULL must be replaced or stripped, but this was too vague, and stripping might be a security risk in itself.
2015-06-04Removed platform-dependence part of def of line ending.John MacFarlane
Closes #326.
2015-06-03Added test case with # followed directly by alphabetic.John MacFarlane
(Not an ATX header.)
2015-06-03Added another level of nesting to Example 213.John MacFarlane
This tests the problem illustrated in commonmark.js#42 and http://talk.commonmark.org/t/odd-list-behaviour/1189 Currently both reference implementations fail this test.
2015-04-29Fixed typo in emphasis examples. Closes #320.John MacFarlane
2015-04-27Bump version to 0.19 and date.John MacFarlane
2015-04-27Fixed errors in last commit.John MacFarlane
See #317.
2015-04-27Fixed rules for `_`-based emphasis and strong emphasis.John MacFarlane
Previously this was not counted as emphasis _(bar)_. because the closing delimiter is both left- and right- flanking. This fix allows such delimiters, provided they're followed by punctuation (= they have punctuation on both sides). Similarly, mutatis mutandis, for opening delimiters and for `__`. Closes #317.
2015-04-27Clarified left-flanking and right-flanking.John MacFarlane
Say explicitly that the beginning and end of line count as whitespace for purposes of this definition. Otherwise the opener in `_foo_` is both left and right flanking, as @jmendeth pointed out. Closes #310.
2015-04-27Clarified that a code fence followed by header line isn't a header.John MacFarlane
Closes #306.
2015-04-16Fixed alignment in flankingness examples (cosmetic).John MacFarlane
2015-04-16Fixed last "right flanking but not left flanking" example.John MacFarlane
Closes #316.
2015-03-20Fixed broken linkKonstantin Zudov
Which leads to [link reference definition]. Ironical.
2015-03-18Fix typosisoroku