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 /src/Text/Pandoc/Format.hs | |
| 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 'src/Text/Pandoc/Format.hs')
| -rw-r--r-- | src/Text/Pandoc/Format.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Format.hs b/src/Text/Pandoc/Format.hs index 5f9459e3e..96f905b35 100644 --- a/src/Text/Pandoc/Format.hs +++ b/src/Text/Pandoc/Format.hs @@ -179,6 +179,7 @@ formatFromFilePath x = ".csv" -> defFlavor "csv" ".ctx" -> defFlavor "context" ".db" -> defFlavor "docbook" + ".dj" -> defFlavor "djot" ".doc" -> defFlavor "doc" -- so we get an "unknown reader" error ".docx" -> defFlavor "docx" ".dokuwiki" -> defFlavor "dokuwiki" |
