aboutsummaryrefslogtreecommitdiff
path: root/data/pandoc.List.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2018-10-14 17:28:15 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2018-10-14 21:23:41 +0200
commit6082caf2331d041739bd2c99d628e2f075b8e130 (patch)
treeb9c872e4c660d880f7b402de54405989a7fda587 /data/pandoc.List.lua
parent983277c6ebad990be7df5ad68ded245a30c61ade (diff)
downloadpandoc-6082caf2331d041739bd2c99d628e2f075b8e130.tar.gz
Custom writer: provide PANDOC_DOCUMENT instead of Setup function
Custom writers have access to the global variable `PANDOC_DOCUMENT`. The variable contains a userdata wrapper around the full pandoc AST and exposes two fields, `meta` and `blocks`. The field content is only marshaled on-demand, performance of scripts not accessing the fields remains unaffected.
Diffstat (limited to 'data/pandoc.List.lua')
0 files changed, 0 insertions, 0 deletions