pandoc/default.rst
John MacFarlane e2e8191e90 default.rst: Added empty comment after directives.
This prevents a subsequent indented paragraph from being captured
by the directive.  Closes pandoc#321.
2011-12-04 22:54:18 -08:00

41 lines
410 B
ReStructuredText

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