aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Old.hs
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 /test/Tests/Old.hs
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 'test/Tests/Old.hs')
-rw-r--r--test/Tests/Old.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs
index 04855455a..97c1eb8a7 100644
--- a/test/Tests/Old.hs
+++ b/test/Tests/Old.hs
@@ -83,6 +83,11 @@ tests pandocPath =
, test' "reader" ["-r", "textile", "-w", "native", "-s"]
"textile-reader.textile" "textile-reader.native"
]
+ , testGroup "djot"
+ [ testGroup "writer" $ writerTests' "djot"
+ , test' "reader" ["-f", "djot", "-t" ,"native", "-s"]
+ "djot-reader.djot" "djot-reader.native"
+ ]
, testGroup "docbook"
[ testGroup "writer" $ writerTests' "docbook4"
, test' "reader" ["-r", "docbook", "-w", "native", "-s"]