Skip to content
Snippets Groups Projects
Commit 6eb0697c authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Use minted for syntax highlighting

parent c11e1773
No related branches found
No related tags found
1 merge request!1Use LuaLaTeX and syntax highlighting
......@@ -14,7 +14,7 @@
\newcommand{\keyterm}[1] {\textbf{\alert{#1}}}
\newcommand{\gametitle}[1] {\textit{#1}}
\usepackage{fancyvrb}
\usepackage{minted}
%\usepackage{beamer}
......@@ -89,19 +89,19 @@
\begin{frame}[fragile]{Entity Definition}
\begin{Verbatim}
\begin{minted}[breaklines]{javascript}
{
"name": "piece", - it's called 'piece'
"name": "piece", // it's called 'piece'
"properties": {
"ter-playzone": 1, - it can 'walk' on playzone tiles
"health": 1 - it has 1 health (things with no health die)
"ter-playzone": 1, // it can 'walk' on playzone tiles
"health": 1 // it has 1 health (things with no health die)
},
"_actions":[
"Jump[tick]", - Jump Action (defined in Java)
"Clone[tick]" - Clone action (defined in Java)
"Jump[tick]", // Jump Action (defined in Java)
"Clone[tick]" // Clone action (defined in Java)
]
},
\end{Verbatim}
\end{minted}
\end{frame}
......
$pdf_mode = 1;
$pdflatex = 'lualatex %O %S';
$pdflatex = 'lualatex --shell-escape %O %S';
$silent = 1;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment