summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/context/third/markdown/examples/context.tex')
-rw-r--r--Master/texmf-dist/doc/context/third/markdown/examples/context.tex14
1 files changed, 11 insertions, 3 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 5c1caf25de1..99c4eb9e5f2 100644
--- a/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
+++ b/Master/texmf-dist/doc/context/third/markdown/examples/context.tex
@@ -13,9 +13,17 @@
\definetyping [latex]
\setuptyping [latex] [option=TEX]
\starttext
- \markdownInput{example.md}
- \startmarkdown
+% Typeset the document `example.md` by letting the Markdown package handle
+% the conversion internally.
+\markdownInput{./example.md}
+
+% Typeset the document `example.tex` that we prepared separately using the
+% Lua command-line interface and that contains a plain TeX representation
+% of the document `example.md`.
+\doiffileelse{./example.tex}{\input example}{}
+
+\startmarkdown
Here are some non-ASCII characters: *ěščřžýáíé*
and ConTeXt special characters: *|*.
- \stopmarkdown
+\stopmarkdown
\stoptext