Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-11-06 | Pass ReaderOptions to custom readers as second parameter. | John MacFarlane | 1 | -4/+3 | |
2021-11-05 | Add interface for custom readers written in Lua. (#7671) | John MacFarlane | 1 | -0/+55 | |
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. |