summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/cluttex/example/minted/main.tex
blob: bbf231b24db33866acf46cf168a1f9c35d95473b (plain)
1
2
3
4
5
6
7
8
9
10
11
\documentclass{article}
\usepackage{minted}
\begin{document}
\begin{minted}{lua}
function greet()
  print("Hello world!")
end
\end{minted}

\inputminted{lua}{file.lua}
\end{document}