summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-07 21:22:21 +0000
committerKarl Berry <karl@freefriends.org>2017-05-07 21:22:21 +0000
commit6ba0e12b9f635f5a03ab3e8637bf260548e23ba6 (patch)
tree91eb54a4c4cba32efaf278e40681e00b3cd1ceef /Master/texmf-dist/doc/latex/markdown/examples/latex.tex
parent9d415badea95d5684da2dcd2ebbaffed8406f3c6 (diff)
markdown (7may17)
git-svn-id: svn://tug.org/texlive/trunk@44237 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/markdown/examples/latex.tex')
-rw-r--r--Master/texmf-dist/doc/latex/markdown/examples/latex.tex31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
new file mode 100644
index 00000000000..c02aedbaaa0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/markdown/examples/latex.tex
@@ -0,0 +1,31 @@
+\documentclass{book}
+\usepackage{ifxetex,ifluatex}
+\ifxetex
+ \usepackage{polyglossia}
+ \setmainlanguage{english}
+ \usepackage{fontspec}
+\else\ifluatex
+ \usepackage{polyglossia}
+ \setmainlanguage{english}
+ \usepackage{fontspec}
+\else
+ \usepackage[english]{babel}
+ \usepackage[utf8]{inputenc}
+ \usepackage[T1]{fontenc}
+ \usepackage{lmodern}
+\fi\fi
+\usepackage[
+ hashEnumerators,
+ definitionLists,
+ footnotes,
+ inlineFootnotes,
+ smartEllipses,
+ fencedCode,
+ contentBlocks
+]{markdown}
+\begin{document}
+ \markdownInput{example.md}
+ \begin{markdown}
+Here are some non-ASCII characters: *ěščřžýáíé*.
+ \end{markdown}
+\end{document}