summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/examples/example.md
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/examples/example.md')
-rw-r--r--macros/generic/markdown/examples/example.md70
1 files changed, 41 insertions, 29 deletions
diff --git a/macros/generic/markdown/examples/example.md b/macros/generic/markdown/examples/example.md
index f0be0cddfa..2841cd156f 100644
--- a/macros/generic/markdown/examples/example.md
+++ b/macros/generic/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