From 1e0147a88c7bc3a3e2986968f697ef5fbcef2bcb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Apr 2018 21:09:18 +0000 Subject: markdown (9apr18) git-svn-id: svn://tug.org/texlive/trunk@47397 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/markdown/examples/latex.tex | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc/latex/markdown') 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} -- cgit v1.2.3