pandoc/data/templates/default.rst
John MacFarlane 6ea706256d Support --number-sections in RST output...
via the "section-numbering" directive in standalone output.
2018-06-02 21:37:15 -07:00

46 lines
489 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$
$if(number-sections)$
.. section-numbering::
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$body$
$for(include-after)$
$include-after$
$endfor$