diff options
| author | John MacFarlane <[email protected]> | 2024-01-13 10:17:15 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-02-13 23:10:42 -0800 |
| commit | 8c42926cb2161efac51e259a25d2047d31de3538 (patch) | |
| tree | e60c0eccc5a81aacb191702b5de24dc5108ea4e7 /data | |
| parent | ea2466724b80da6f2163d0a29def3090ca3a5618 (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.djot | 27 |
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$ |
