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:
30
pandoc/templates/default.docbook5
Normal file
30
pandoc/templates/default.docbook5
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE article>
|
||||
$if(mathml)$
|
||||
<article xmlns="http://docbook.org/ns/docbook" version="5.0">
|
||||
$else$
|
||||
<article xmlns="http://docbook.org/ns/docbook" version="5.0">
|
||||
$endif$
|
||||
<info>
|
||||
<title>$title$</title>
|
||||
$if(author)$
|
||||
<authorgroup>
|
||||
$for(author)$
|
||||
<author>
|
||||
$author$
|
||||
</author>
|
||||
$endfor$
|
||||
</authorgroup>
|
||||
$endif$
|
||||
$if(date)$
|
||||
<date>$date$</date>
|
||||
$endif$
|
||||
</info>
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
$body$
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
</article>
|
||||
Reference in New Issue
Block a user