Skip to content

Commit

Permalink
Updated templates for pandoc 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Dec 12, 2019
1 parent 8ece4d6 commit 3bb84f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions default.context
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,18 @@ $endfor$
\starttext
$if(title)$
\startalignment[middle]
{\tfd $title$}
{\tfd\setupinterlinespace $title$}
$if(subtitle)$
\smallskip
{\tfa $subtitle$}
{\tfa\setupinterlinespace $subtitle$}
$endif$
$if(author)$
\smallskip
{\tfa $for(author)$$author$$sep$\crlf $endfor$}
{\tfa\setupinterlinespace $for(author)$$author$$sep$\crlf $endfor$}
$endif$
$if(date)$
\smallskip
{\tfa $date$}
{\tfa\setupinterlinespace $date$}
$endif$
\bigskip
\stopalignment
Expand Down
2 changes: 1 addition & 1 deletion default.revealjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $endfor$
<div class="slides">

$if(title)$
<section id="$idprefix$title-slide">
<section id="$idprefix$title-slide"$for(title-slide-attributes/pairs)$ $it.key$="$it.value$"$endfor$>
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
Expand Down

0 comments on commit 3bb84f4

Please sign in to comment.