diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-11-05 22:10:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 22:10:29 -0700 |
commit | ee2f0021f9b59f0bca6eabf4884641da7a09e21d (patch) | |
tree | f29d5325d1d89c736093534d27b62c98a674df57 /src/Text/Pandoc/Class/IO.hs | |
parent | bac6ae9607582233336984c30bba3c586eba6844 (diff) | |
download | pandoc-ee2f0021f9b59f0bca6eabf4884641da7a09e21d.tar.gz |
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.
Diffstat (limited to 'src/Text/Pandoc/Class/IO.hs')
0 files changed, 0 insertions, 0 deletions