mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(pandoc): add templates
This commit is contained in:
48
pandoc/templates/default.rst
Normal file
48
pandoc/templates/default.rst
Normal file
@@ -0,0 +1,48 @@
|
||||
$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$
|
||||
$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$
|
||||
Reference in New Issue
Block a user