aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorTG <tarik.graba@telecom-paristech.fr>2019-02-05 19:12:48 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-09 08:21:53 -0800
commit568b25d33a277b02cddbe646f3d6ec31f00ec99b (patch)
tree529d6b8ae020dc44660efcbd443fbd52345a3e97 /data/templates
parent8fdeae2872d76e0d6cd996d595aa22d259074a91 (diff)
downloadpandoc-568b25d33a277b02cddbe646f3d6ec31f00ec99b.tar.gz
Adds Asciidoctor sprcific writer and tests
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.asciidoctor38
1 files changed, 38 insertions, 0 deletions
diff --git a/data/templates/default.asciidoctor b/data/templates/default.asciidoctor
new file mode 100644
index 000000000..7668a8325
--- /dev/null
+++ b/data/templates/default.asciidoctor
@@ -0,0 +1,38 @@
+$if(titleblock)$
+= $title$
+$if(author)$
+$for(author)$$author$$sep$; $endfor$
+$endif$
+$if(date)$
+$date$
+$endif$
+$if(keywords)$
+:keywords: $for(keywords)$$keywords$$sep$, $endfor$
+$endif$
+$if(lang)$
+:lang: $lang$
+$endif$
+$if(toc)$
+:toc:
+$endif$
+
+$endif$
+$if(abstract)$
+[abstract]
+== Abstract
+$abstract$
+
+$endif$
+$for(header-includes)$
+$header-includes$
+
+$endfor$
+$for(include-before)$
+$include-before$
+
+$endfor$
+$body$
+$for(include-after)$
+
+$include-after$
+$endfor$