summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
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/latex
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/latex')
-rw-r--r--Master/texmf-dist/doc/latex/markdown/examples/example.md70
-rw-r--r--Master/texmf-dist/doc/latex/markdown/examples/latex.tex9
2 files changed, 50 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/markdown/examples/example.md b/Master/texmf-dist/doc/latex/markdown/examples/example.md
index f0be0cddfab..2841cd156fd 100644
--- a/Master/texmf-dist/doc/latex/markdown/examples/example.md
+++ b/Master/texmf-dist/doc/latex/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
diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
index 07ebe631f99..cf820dfa36d 100644
--- a/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
+++ b/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
@@ -20,12 +20,21 @@
definitionLists,
footnotes,
inlineFootnotes,
+ jekyllData,
smartEllipses,
fencedCode,
contentBlocks,
pipeTables,
tableCaptions,
+ taskLists,
]{markdown}
+\begin{markdown*}{hybrid}
+---
+title: An Example *Markdown* Document
+author: Vít Novotný
+date: \today
+---
+\end{markdown*}
\begin{document}
% Typeset the document `example.md` by letting the Markdown package handle
% the conversion internally.