diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2022-07-12 20:14:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 20:14:42 +0200 |
| commit | 12cc140272a0f2752584428ab765fb6410f29b92 (patch) | |
| tree | f58a2fbd95e5b4c42377b70fa56ca150d36d9ff3 /doc | |
| parent | c7f5fd240003252fc9cd647015d33ba559ad81e9 (diff) | |
Lua: add fields `pandoc.readers` and `pandoc.writers`. (#8177)
The set of supported input and output formats is made available to Lua
users.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lua-filters.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 6a302622d..88bcf7043 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -2437,10 +2437,22 @@ indexing rules. # Module pandoc -Lua functions for pandoc scripts; includes constructors for +Fields and functions for pandoc scripts; includes constructors for document tree elements, functions to parse text in a given format, and functions to filter and modify a subtree. +## Static Fields {#pandoc.fields} + +### readers {#pandoc.readers} + +Set of formats that pandoc can parse. All keys in this table can +be used as the `format` value in `pandoc.read`. + +### writers {#pandoc.writers} + +Set of formats that pandoc can generate. All keys in this table +can be used as the `format` value in `pandoc.write`. + ## Pandoc ### `Pandoc (blocks[, meta])` {#pandoc.pandoc} |
