Skip to content

Commit

Permalink
chore(templates): Update SILE syntax for code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Mar 14, 2024
1 parent b457a2d commit b6fb48b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template.sil
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
\begin[$if(papersize)$papersize=$papersize$,$endif$class=$documentclass$$if(classoptions)$,$classoptions$$endif$]{document}
\begin{script}
\begin{lua}
$if(metadatafile)$
CASILE.metadata = require("readmeta").load("$metadatafile$")
$endif$
$if(versesfile)$
CASILE.verses = require("readmeta").load("$versesfile$")
$endif$
\end{script}
\end{lua}
$if(lang)$
\language[main=$lang$]
\font[language=$lang$]
Expand Down Expand Up @@ -108,14 +108,14 @@ $if(versecredits)$
$endif$
\use[module=packages.pandoc]
\use[module=packages.calists]
\begin{script}
\begin{lua}
qrimg = "$qrimg$"
SILE.registerCommand("label", function()
-- ignore labels
end)
$if(links-as-notes)$
$endif$
\end{script}
\end{lua}
$for(include)$
\include[src=$include$]
$endfor$
Expand Down

0 comments on commit b6fb48b

Please sign in to comment.