pandoc/data/init.lua
Albert Krewinkel 4066a385ac
Lua filters: use script to initialize the interpreter
The file `init.lua` is used to initialize the Lua interpreter which is
used in Lua filters. This gives users the option to require libraries
which they want to use in all of their filters, and to extend default
modules.
2017-12-06 22:50:56 +01:00

6 lines
253 B
Lua

-- This Lua script is run every time the Lua interpreter is started when running
-- a Lua filter. It can be customized to load additional modules or to alter the
-- default modules.
pandoc = require 'pandoc'
pandoc.mediabag = require 'pandoc.mediabag'