pandoc/data/templates/default.rst
John MacFarlane d0e49e0a8a rst template: remove definition of 'math' role as raw.
This used to be needed prior to v 0.8 of docutils, but
now math support is built-in.
2018-02-08 16:31:19 -08:00

42 lines
435 B
ReStructuredText

$if(title)$
$title$
$endif$
$for(author)$
:Author: $author$
$endfor$
$if(date)$
:Date: $date$
$endif$
$if(author)$
$else$
$if(date)$
$endif$
$endif$
$if(rawtex)$
.. role:: raw-latex(raw)
:format: latex
..
$endif$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
.. contents::
:depth: $toc-depth$
..
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$body$
$for(include-after)$
$include-after$
$endfor$