diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-12-19 23:04:31 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-12-19 23:17:27 +0100 |
commit | 993222d2c9c94cbf51f06528b79ffddd56b9da46 (patch) | |
tree | 4025a5a8840fe706da3fa7e5b8eab8d8c7eb0cc0 /src/Text/Pandoc/XML/Light.hs | |
parent | 0610f16f7f684b320325b6c0b501725138d10a52 (diff) | |
download | pandoc-993222d2c9c94cbf51f06528b79ffddd56b9da46.tar.gz |
Custom writer: assign default Pandoc object to global PANDOC_DOCUMENT
The default Pandoc object is now non-strict, i.e., only the parts of the
document that are accessed will be marshaled to Lua. A special type is
no longer necessary.
This change also makes it possible to use the global variable with
library functions such as `pandoc.utils.references`, or to inspect the
document contents with `walk()`.
Diffstat (limited to 'src/Text/Pandoc/XML/Light.hs')
0 files changed, 0 insertions, 0 deletions