Skip to content

Commit

Permalink
Add highlighting macros for Pandoc in JSS template (#422)
Browse files Browse the repository at this point in the history
Co-authored-by: christophe dervieux <[email protected]>
  • Loading branch information
vincentarelbundock and cderv authored Aug 16, 2021
1 parent f171c8f commit 22debeb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion inst/rmarkdown/templates/jss/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
\Shorttitle{$title.short$}
$endif$


\Abstract{
$abstract$
}
Expand Down Expand Up @@ -57,6 +58,11 @@
$endfor$
}

% Pandoc syntax highlighting
$if(highlighting-macros)$
$highlighting-macros$
$endif$

% Pandoc citation processing
$if(csl-refs)$
\newlength{\csllabelwidth}
Expand Down Expand Up @@ -87,7 +93,6 @@
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
$endif$

% Pandoc header
$for(header-includes)$
$header-includes$
$endfor$
Expand Down

0 comments on commit 22debeb

Please sign in to comment.