Here's how to include this so called "Kant Lipsum" text in e.g. Markdown - generated by Pandoc when rendering to an output format!
First, here's the LaTeX template code.
Save this to "kant.tex":
Code: Select all
\documentclass{article}
\usepackage{kantlipsum}
\begin{document}
$body$
\end{document}
Save this to "kant.md":
Code: Select all
# Testing Kant
\kant
Command to generate the output:
Code: Select all
$ pandoc kant.md --template=kant.tex --latex-engine=xelatex -s -o kant.pdf
The "\kant" command can be parametrized and there are other commands available too.
See Kantlipsum package documentation "Commands" for details.
Related links: