Skip to content

Commit 91e045c

Browse files
committed
Bump version to 0.26, update changelog.
1 parent 3c78263 commit 91e045c

2 files changed

Lines changed: 46 additions & 2 deletions

File tree

changelog.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
[0.26]
2+
3+
* Empty list items can no longer interrupt a paragraph.
4+
This removes an ambiguity between setext headers and
5+
lists in cases like
6+
7+
foo
8+
-
9+
10+
Removed the "two blank lines breaks out of lists" rule.
11+
This is incompatible with the principle of uniformity
12+
(and indeed with the spec for list items, which requires
13+
that the meaning of a chunk of lines not change when it
14+
is put into a list item.)
15+
* Ordered list markers that interrupt a paragraph must start with 1.
16+
* Improved the section on tabs. Added some test cases for ATX
17+
headers and thematic breaks. Clarified that it's not just cases
18+
that affect indentation that matter, but all cases where whitespace
19+
matters for block structure.
20+
* Removed example of ATX header with tab after `#`.
21+
* Allow HTML blocks to end on the last line of their container
22+
(Colin O'Dell, #103).
23+
* Spec changes in strong/emph parsing. See
24+
https://talk.commonmark.org/t/emphasis-strong-emphasis-corner-cases/2123
25+
for motivation. This restores intuitive parsings for a number of cases.
26+
The main change is to disallow strong or emph when one of
27+
the delimiters is "internal" and the sum of the lengths of
28+
the enclosing delimiter runs is a multiple of 3. Thus,
29+
`**foo*bar***` gets parsed `<strong>foo*bar</strong>` rather than
30+
`<em><em>foo</em>bar</em>**` as before. Thanks to Fletcher Penney
31+
for discussion.
32+
* Add tests to check that markdown parsing is working fine after an HTML
33+
block end tag (Alexandre Mutel).
34+
* Add test case for nested lists with an indent > 4 (Alexandre Mutel).
35+
* Cleaned up terminology around lazy continuation lines. Added some links.
36+
* Fixed broken links and typos (Artyom, Matthias Geier, Sam Estep).
37+
* Use `≤` instead of `<` in list item spec for clarity.
38+
* Add point about readibility to "What is Markdown" section.
39+
* Add example for list item starting with a blank line with spaces
40+
(Robin Stocker).
41+
* Make interact more button-like and clearer (Jeff Atwood).
42+
* `spec_tests.py`: exit code is now sum of failures and errors.
43+
* `spec_tests.py`: specify newline when opening file.
44+
145
[0.25]
246

347
* Added several more tab-handling cases (see jgm/cmark#101).

spec.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: CommonMark Spec
33
author: John MacFarlane
4-
version: 0.25
5-
date: '2016-03-24'
4+
version: 0.26
5+
date: '2016-07-15'
66
license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'
77
...
88

0 commit comments

Comments
 (0)