summaryrefslogtreecommitdiff
path: root/test/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-07-15 08:25:08 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-07-15 08:25:08 -0700
commitddae0291dcc1561fcfb86d115ccd67cefff26a3f (patch)
tree1075d8b9abcb703fe18a4cf7ab2378a5b772d81f /test/spec.txt
parent03b5d601058c8d1a2121ff1f6e874a84a4a96a51 (diff)
Updated spec.
Diffstat (limited to 'test/spec.txt')
-rw-r--r--test/spec.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/test/spec.txt b/test/spec.txt
index 4c3de7a..e2b6834 100644
--- 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