From ee2f0021f9b59f0bca6eabf4884641da7a09e21d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 5 Nov 2021 22:10:29 -0700 Subject: Add interface for custom readers written in Lua. (#7671) New module Text.Pandoc.Readers.Custom, exporting readCustom [API change]. Users can now do `-f myreader.lua` and pandoc will treat the script myreader.lua as a custom reader, which parses an input string to a pandoc AST, using the pandoc module defined for Lua filters. A sample custom reader can be found in data/reader.lua. Closes #7669. --- pandoc.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'pandoc.cabal') diff --git a/pandoc.cabal b/pandoc.cabal index 8911cdb1b..a86cc71a3 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -642,6 +642,7 @@ library Text.Pandoc.Readers.Ipynb, Text.Pandoc.Readers.CSV, Text.Pandoc.Readers.RTF, + Text.Pandoc.Readers.Custom, Text.Pandoc.Writers, Text.Pandoc.Writers.Native, Text.Pandoc.Writers.Docbook, -- cgit v1.2.3