summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/third/markdown/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-31 19:44:45 +0000
committerKarl Berry <karl@freefriends.org>2022-10-31 19:44:45 +0000
commitb85211b0d457e8ea4625ba00efe5133ba6f42350 (patch)
tree5fe5a427c680f122e0292cfd107fbdea47125f90 /Master/texmf-dist/doc/context/third/markdown/examples
parent32a5e5c9e3c474a4be7e4ea8ab3101d0d6f208fe (diff)
markdown (31oct22)
git-svn-id: svn://tug.org/texlive/trunk@64879 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context/third/markdown/examples')
-rw-r--r--Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex19
-rw-r--r--Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex19
-rw-r--r--Master/texmf-dist/doc/context/third/markdown/examples/example.md22
3 files changed, 34 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex
index 77809fa16b3..b2c48ac00ae 100644
--- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex
+++ b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex
@@ -9,21 +9,22 @@
% Set options of the Markdown module.
\setupmarkdown
[
- hashEnumerators = yes,
+ contentBlocks = yes,
debugExtensions = yes,
definitionLists = yes,
- smartEllipses = yes,
- footnotes = yes,
- inlineFootnotes = yes,
+ fancy_lists = yes,
fencedCode = yes,
- contentBlocks = yes,
+ hashEnumerators = yes,
+ inlineNotes = yes,
+ notes = yes,
pipeTables = yes,
+ rawAttribute = yes,
+ smartEllipses = yes,
+ strikethrough = yes,
+ subscripts = yes,
+ superscripts = yes,
tableCaptions = yes,
taskLists = yes,
- strikeThrough = yes,
- superscripts = yes,
- subscripts = yes,
- fancyLists = yes,
]
% Set renderers of the Markdown module.
diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex
index 8849e7bd66b..b91ab03d99e 100644
--- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex
+++ b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex
@@ -9,21 +9,22 @@
% Set options of the Markdown module.
\setupmarkdown
[
- hashEnumerators = yes,
+ contentBlocks = yes,
debugExtensions = yes,
definitionLists = yes,
- smartEllipses = yes,
- footnotes = yes,
- inlineFootnotes = yes,
+ fancy_lists = yes,
fencedCode = yes,
- contentBlocks = yes,
+ hashEnumerators = yes,
+ inlineNotes = yes,
+ notes = yes,
pipeTables = yes,
+ rawAttribute = yes,
+ smartEllipses = yes,
+ strikethrough = yes,
+ subscripts = yes,
+ superscripts = yes,
tableCaptions = yes,
taskLists = yes,
- strikeThrough = yes,
- superscripts = yes,
- subscripts = yes,
- fancyLists = yes,
]
% Set renderers of the Markdown module.
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 24ca2c6362e..f697bcff579 100644
--- a/Master/texmf-dist/doc/context/third/markdown/examples/example.md
+++ b/Master/texmf-dist/doc/context/third/markdown/examples/example.md
@@ -10,7 +10,7 @@
###### This is an H6
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
+This is a text paragraph containing an ellipsis ... and followed by a thematic break.
***
@@ -148,20 +148,26 @@ This is a block quote:
>
> Back to the first level.
-Here is a footnote reference[^1] and another.[^longnote]
+Here is a note reference[^1] and another.[^longnote]
Here is an inline note.^[Inlines notes are easier to
write, since you don't have to pick an identifier and
move down to type the note.]
-
-[^1]: Here is the footnote.
+
+[^1]: Here is the note.
[^longnote]: Here's one with multiple blocks.
-
+
Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
+belong to the previous note.
+
Some code
The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
+ line. In this way, multi-paragraph notes work like
multi-paragraph list items.
+
+This is raw `\TeX`{=tex} code:
+
+``` {=tex}
+$$ x^n + y^n = z^n $$
+```