$pagetitle$

$if(quotes)$
$endif$ $if(highlighting-css)$
$endif$ $for(css)$ $endfor$ $for(header-includes)$ $header-includes$ $endfor$ $if(titlepage)$
$for(title)$ $if(title.type)$

# $title.text$

$else$

# $title$

$endif$ $endfor$ $if(subtitle)$

$subtitle$

$endif$ $for(author)$

$author$

$endfor$ $for(creator)$

$creator.text$

$endfor$ $if(publisher)$

$publisher$

$endif$ $if(date)$

$date$

$endif$ $if(rights)$
$rights$
$endif$
$else$ $for(include-before)$ $include-before$ $endfor$ $body$ $for(include-after)$ $include-after$ $endfor$ $endif$