summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-01 22:00:34 +0000
committerKarl Berry <karl@freefriends.org>2021-10-01 22:00:34 +0000
commitc715cd9bf039c14787d154d495e9ef181b07bfce (patch)
treea67caf93acb953c8fd2d4c2c294200b265fa10bd /Master/texmf-dist/doc/context
parent070e5192bad37b3ceee5d098ea0e8c7519986734 (diff)
markdown (2oct21)
git-svn-id: svn://tug.org/texlive/trunk@60667 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r--Master/texmf-dist/doc/context/third/markdown/examples/context.tex1
-rw-r--r--Master/texmf-dist/doc/context/third/markdown/examples/example.md70
2 files changed, 42 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
index 7ed432344ac..a049d9f81c0 100644
--- a/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
+++ b/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
@@ -12,6 +12,7 @@
\def\markdownOptionContentBlocks{true}
\def\markdownOptionPipeTables{true}
\def\markdownOptionTableCaptions{true}
+\def\markdownOptionTaskLists{true}
\definetyping [latex]
\setuptyping [latex] [option=TEX]
\starttext
diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/example.md b/Master/texmf-dist/doc/context/third/markdown/examples/example.md
index f0be0cddfab..2841cd156fd 100644
--- a/Master/texmf-dist/doc/context/third/markdown/examples/example.md
+++ b/Master/texmf-dist/doc/context/third/markdown/examples/example.md
@@ -1,12 +1,13 @@
-This is an H1
-=============
+# This is an H1
-This is an H2
--------------
+## This is an H2
### This is an H3
+
#### This is an H4
+
##### This is an H5
+
###### This is an H6
This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
@@ -40,45 +41,56 @@ This is a table:
This is a bullet list:
- * The first item of a bullet list
+* The first item of a bullet list
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
+ that spans several paragraphs,
+* the second item of a bullet list,
+* the third item of a bullet list.
This is a compact bullet list:
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
+* The first item of a bullet list,
+* the second item of a bullet list,
+* the third item of a bullet list.
This is an ordered list:
- 5. The first item of an ordered list
+5. The first item of an ordered list
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
+ that spans several paragraphs,
+6. the second item of an ordered list,
+7. the third item of an ordered list.
This is an ordered list using hash enumerators:
- #. The first item of an ordered list
+#. The first item of an ordered list
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
+ that spans several paragraphs,
+#. the second item of an ordered list,
+#. the third item of an ordered list.
This is a compact ordered list:
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
+5. The first item of an ordered list,
+6. the second item of an ordered list,
+7. the third item of an ordered list.
This is a compact ordered list using hash enumerators:
- #. The first item of an ordered list,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
+#. The first item of an ordered list,
+#. the second item of an ordered list,
+#. the third item of an ordered list.
+
+This is a task list:
+
+* [ ] Some unfinished task
+* [/] Some half-finished task
+* [X] Some finished task
+* An item of an unordered list
+ #. [ ] Some unfinished subtask
+ #. [.] Some half-finished subtask
+ #. [x] Some finished subtask
+ #. An item of an ordered list
This is a definition list:
@@ -86,12 +98,12 @@ Term 1
: Definition 1
-*Term 2*
+Term 2
: Definition 2
-
+
Some code, part of Definition 2
-
+
Third paragraph of Definition 2.
: Definition 3
@@ -100,7 +112,7 @@ This is a compact definition list:
Term 1
: Definition 1
-*Term 2*
+Term 2
: Definition 2
: Definition 3