aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-11-23 08:45:18 +0100
committerJohn MacFarlane <[email protected]>2025-11-29 17:04:42 +0100
commit8651ec3c28693c875d78017b4f278338417d176a (patch)
tree24065899ab03f7daaa628a04a8060f4b54c2e505 /pandoc.cabal
parent525113c31ea07d35a5a1e436866c7ed51fc90ccf (diff)
Add asciidoc as an input format.
New exported module Text.Pandoc.Readers.AsciiDoc, exporting readAsciiDoc [API change]. The bulk of parsing is handled by the asciidoc library. Closes #1456.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal6
1 files changed, 6 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 8aa2ddd1d..8841fb8dd 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -275,6 +275,10 @@ extra-source-files:
test/command/6466-whole.hs
test/command/7861.yaml
test/command/7861/metadata/placeholder
+ test/asciidoc-reader.adoc
+ test/asciidoc-reader.native
+ test/asciidoc-reader-include.rb
+ test/asciidoc-reader-include.adoc
test/docbook-chapter.docbook
test/docbook-reader.docbook
test/docbook-xref.docbook
@@ -566,6 +570,7 @@ library
typst >= 0.8.0.2 && < 0.9,
vector >= 0.12 && < 0.14,
djot >= 0.1.2.3 && < 0.2,
+ asciidoc >= 0.1 && < 0.2,
tls >= 2.0.1 && < 2.2,
crypton-x509-system >= 1.6.7 && < 1.7
@@ -590,6 +595,7 @@ library
Text.Pandoc.Translations,
Text.Pandoc.Translations.Types,
Text.Pandoc.Readers,
+ Text.Pandoc.Readers.AsciiDoc,
Text.Pandoc.Readers.HTML,
Text.Pandoc.Readers.LaTeX,
Text.Pandoc.Readers.Markdown,