aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua.hs
AgeCommit message (Expand)AuthorFilesLines
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel1-2/+2
2018-10-28T.P.Lua: expose more useful internals (API change)Albert Krewinkel1-3/+11
2018-10-28T.P.Lua: rename `runPandocLua` to `runLua` (API change)Albert Krewinkel1-2/+2
2018-10-28T.P.Lua: merge runLuaFilter into T.P.Filter.Lua (API change)Albert Krewinkel1-40/+0
2018-10-26Text.Pandoc.Lua: move globals handling to separate moduleAlbert Krewinkel1-18/+10
2018-10-01Lua filters: report traceback when an error occursAlbert Krewinkel1-1/+2
2018-09-24Use hslua v1.0.0Albert Krewinkel1-6/+5
2018-08-12Lua: cleanup Lua utils, remove unused functions.Albert Krewinkel1-9/+7
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
2018-02-24Lua: register script name in global variableAlbert Krewinkel1-2/+3
2018-01-19hlint code improvements.John MacFarlane1-1/+1
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