summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/markdown
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-09 21:09:18 +0000
committerKarl Berry <karl@freefriends.org>2018-04-09 21:09:18 +0000
commit1e0147a88c7bc3a3e2986968f697ef5fbcef2bcb (patch)
tree35ebdb8da7eee58a5bc80c155c61714de0e10683 /Master/texmf-dist/doc/latex/markdown
parent13f04854f4814353751f9cbe298a3ba169ffd972 (diff)
markdown (9apr18)
git-svn-id: svn://tug.org/texlive/trunk@47397 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/markdown')
-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}