summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/markdown/examples/latex.tex')
-rw-r--r--Master/texmf-dist/doc/latex/markdown/examples/latex.tex14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
index c02aedbaaa0..cb7f4edce9e 100644
--- a/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
+++ b/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
@@ -24,8 +24,16 @@
contentBlocks
]{markdown}
\begin{document}
- \markdownInput{example.md}
- \begin{markdown}
+% 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 of the Markdown package and that contains a
+% plain TeX representation of the document `example.md`.
+\InputIfFileExists{./example.tex}{}{}
+
+\begin{markdown}
Here are some non-ASCII characters: *ěščřžýáíé*.
- \end{markdown}
+\end{markdown}
\end{document}