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.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}