aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions/sane_lists.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/extensions/sane_lists.md')
-rw-r--r--docs/extensions/sane_lists.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/extensions/sane_lists.md b/docs/extensions/sane_lists.md
index 81f8d84..6d364c1 100644
--- a/docs/extensions/sane_lists.md
+++ b/docs/extensions/sane_lists.md
@@ -66,6 +66,27 @@ With this extension the above will result in the following output:
</ol>
```
+Sane lists also recognize the number used in ordered lists. Given the following
+list:
+
+```md
+4. Apples
+5. Oranges
+6. Pears
+```
+
+By default markdown will ignore the fact that the first line started
+with item number "4" and the HTML list will start with a number "1".
+This extension will result in the following HTML output:
+
+```html
+<ol start="4">
+ <li>Apples</li>
+ <li>Oranges</li>
+ <li>Pears</li>
+</ol>
+```
+
In all other ways, Sane Lists should behave as normal Markdown lists.
Usage