aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-01-13 10:17:15 -0800
committerJohn MacFarlane <[email protected]>2024-02-13 23:10:42 -0800
commit8c42926cb2161efac51e259a25d2047d31de3538 (patch)
treee60c0eccc5a81aacb191702b5de24dc5108ea4e7 /data
parentea2466724b80da6f2163d0a29def3090ca3a5618 (diff)
Add djot reader and writer.djot
Djot is a light markup syntax (https://djot.net). This patch adds djot as input and output formats. API changes: Add Text.Pandoc.Readers.Djot Add Text.Pandoc.Writers.Djot
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.djot27
1 files changed, 27 insertions, 0 deletions
diff --git a/data/templates/default.djot b/data/templates/default.djot
new file mode 100644
index 000000000..d3d815f55
--- /dev/null
+++ b/data/templates/default.djot
@@ -0,0 +1,27 @@
+$if(title)$
+# $title$
+
+$endif$
+$if(author)$
+$for(author)$
+$author$
+$endfor$
+
+$endif$
+$if(date)$
+$date$
+
+$endif$
+$for(header-includes)$
+$header-includes$
+
+$endfor$
+$for(include-before)$
+$include-before$
+
+$endfor$
+$body$
+$for(include-after)$
+$include-after$
+
+$endfor$