cmark

My personal build of CMark ✏️

Commit
ddae0291dcc1561fcfb86d115ccd67cefff26a3f
Parent
03b5d601058c8d1a2121ff1f6e874a84a4a96a51
Author
John MacFarlane <jgm@berkeley.edu>
Date

Updated spec.

Diffstat

1 file changed, 10 insertions, 9 deletions

Status File Name N° Changes Insertions Deletions
Modified test/spec.txt 19 10 9
diff --git a/test/spec.txt b/test/spec.txt
@@ -1,8 +1,8 @@
 ---
 title: CommonMark Spec
 author: John MacFarlane
-version: 0.25
-date: '2016-03-24'
+version: 0.26
+date: '2016-07-15'
 license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'
 ...
 
@@ -340,7 +340,7 @@ in contexts where whitespace helps to define block structure,
 tabs behave as if they were replaced by spaces with a tab stop
 of 4 characters.
 
-Thus, for exmaple, a tab can be used instead of four spaces
+Thus, for example, a tab can be used instead of four spaces
 in an indented code block.  (Note, however, that internal
 tabs are passed through as literal tabs, not expanded to
 spaces.)
@@ -3621,12 +3621,7 @@ An [ordered list marker](@)
 is a sequence of 1--9 arabic digits (`0-9`), followed by either a
 `.` character or a `)` character.  (The reason for the length
 limit is that with 10 digits we start seeing integer overflows
-in some browsers.)  Exception: In cases where ordered list
-markers interrupt paragraphs---that is, when they occur on a
-line that would otherwise count as [paragraph continuation
-text]---list markers must be followed by some content other than
-spaces before the end of the line, and for ordered list markers,
-only `1.` and `1)` are allowed.
+in some browsers.)
 
 The following rules define [list items]:
 
@@ -3641,6 +3636,12 @@ The following rules define [list items]:
     If the list item is ordered, then it is also assigned a start
     number, based on the ordered list marker.
 
+    Exceptions: When the list item interrupts a paragraph---that
+    is, when it starts on a line that would otherwise count as
+    [paragraph continuation text]---then (a) the lines *Ls* must
+    not begin with a blank line, and (b) if the list item is
+    ordered, the start number must be 1.
+
 For example, let *Ls* be the lines
 
 ```````````````````````````````` example