aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua.hs
AgeCommit message (Expand)AuthorFilesLines
2018-01-12Lua filters: make PANDOC_READER_OPTIONS availableAlbert Krewinkel1-6/+11
2018-01-05Update copyright notices to include 2018Albert Krewinkel1-2/+2
2017-12-29Lua filters: stop exporting pushPandocModuleAlbert Krewinkel1-6/+0
2017-12-29data/pandoc.lua: drop function pandoc.global_filterAlbert Krewinkel1-11/+7
2017-12-21Lua modules: move to dedicated submoduleAlbert Krewinkel1-1/+5
2017-12-13Custom writer: use init file to setup Lua interpreterAlbert Krewinkel1-42/+13
2017-12-13Lua filters: drop unused code, language extensionsAlbert Krewinkel1-11/+1
2017-12-06Lua filters: use script to initialize the interpreterAlbert Krewinkel1-10/+5
2017-12-02Lua filters: refactor lua module handlingAlbert Krewinkel1-23/+42
2017-11-18Lua filters: preload text module (#4077)Albert Krewinkel1-0/+2
2017-11-11Add lua filter functions to walk inline and block elements.John MacFarlane1-147/+3
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane1-9/+9
2017-10-05pandoc.lua: throw better error when pipe command failsAlbert Krewinkel1-3/+2
2017-09-30Lua filters: make sure whole CommonState is passed through...John MacFarlane1-5/+8
2017-09-30Text.Pandoc.Lua: add mediabag submoduleAlbert Krewinkel1-6/+30
2017-09-26Lua filters: set global FORMAT instead of args.John MacFarlane1-4/+4
2017-09-26Lua: set "arg" instead of "PandocParameters".John MacFarlane1-2/+2
2017-09-24Allow lua filters to return lists of elementsAlbert Krewinkel1-46/+75
2017-08-23Text.Pandoc.Lua: fix fallback functions with GHC 7.8Albert Krewinkel1-2/+2
2017-08-22Text.Pandoc.Lua: support Inline and Block catch-allsAlbert Krewinkel1-6/+8
2017-08-22Text.Pandoc.Lua: respect metatable when getting filtersAlbert Krewinkel1-52/+76
2017-08-13Delete Text.Pandoc.Lua.SharedInstancesAlbert Krewinkel1-1/+0
2017-08-13Text.Pandoc.Lua: cleanup element walking codeAlbert Krewinkel1-28/+20
2017-08-13Use hslua >= 0.7, update Lua codeAlbert Krewinkel1-91/+90
2017-06-29Added parameter for user data directory to runLuaFilter.John MacFarlane1-3/+3
2017-06-29Text.Pandoc.Lua: more code simplification.John MacFarlane1-30/+26
2017-06-29Lua filters: Remove special treatment of Quoted, Math.John MacFarlane1-24/+8
2017-06-29Text.Pandoc.Lua: refactored to remove duplicated code.John MacFarlane1-34/+25
2017-06-29Text.Pandoc.Lua: use generics to reduce boilerplate.John MacFarlane1-32/+3
2017-06-27Text.Pandoc.Lua: catch lua errors in filter functionsAlbert Krewinkel1-11/+20
2017-06-27Text.Pandoc.Lua: keep element unchanged if filter returns nilAlbert Krewinkel1-8/+13
2017-06-27Text.Pandoc.Lua: simplify filter function runnerAlbert Krewinkel1-25/+11
2017-06-20Text.Pandoc.Lua - added DeriveDataTypeable for ghc 7.8.John MacFarlane1-3/+4
2017-06-20Lua: use registry to store function referencesAlbert Krewinkel1-29/+19
2017-06-20Lua: apply hslint suggestionsAlbert Krewinkel1-33/+32
2017-06-20Text.Pandoc.Lua: throw LuaException instead of using 'error'.John MacFarlane1-5/+16
2017-06-03Improve code style in lua and org modulesAlbert Krewinkel1-9/+9
2017-04-30Lua filter: fall-back to global filters when none is returnedAlbert Krewinkel1-1/+12
2017-04-26Lua filter: allow filtering of meta data onlyAlbert Krewinkel1-1/+13
2017-04-18Lua: drop useless filter function type parameterAlbert Krewinkel1-28/+20
2017-04-15Lua filter: revert to non-destructuring filtersAlbert Krewinkel1-66/+46
2017-04-14Lua filter: allow shorthand functions for math and quotedAlbert Krewinkel1-3/+23
2017-04-14Extract lua helper functions into Lua.Util moduleAlbert Krewinkel1-18/+2
2017-04-14Lua filter: use destructured functions for block filtersAlbert Krewinkel1-17/+23
2017-04-14Drop dependency on hslua-aesonAlbert Krewinkel1-18/+15
2017-04-13Use lua constructors to push meta valuesAlbert Krewinkel1-2/+2
2017-04-12Lua filter: use destructured functions for inline filtersAlbert Krewinkel1-33/+58
2017-04-11Lua filter: use custom StackValue Inline instanceAlbert Krewinkel1-3/+5
2017-04-04Use lua registry instead of named globalsAlbert Krewinkel1-5/+11
2017-04-02Lua module: add readers submoduleAlbert Krewinkel1-28/+3