mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 22:11:30 +08:00
The CommonState (`PANDOC_STATE` in Lua) may change between the time that a custom writer script is first loaded and when the writer is run. However, the writer was always using the initial state, which led to problems, e.g. when the mediabag was updated in a filter, as those updates where not visible to the writer. The state is now updated right before the writer function runs. Fixes: #9229
pandoc-lua-engine
This package provides a Lua pandoc scripting engine based. It allows to write filters, custom readers, and custom writers in Lua.