aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Filter
AgeCommit message (Collapse)AuthorFilesLines
2018-10-28T.P.Filter: centralize filter path expansionAlbert Krewinkel2-10/+5
2018-10-28T.P.Lua: expose more useful internals (API change)Albert Krewinkel1-22/+3
Newly exported from Text.Pandoc.Lua: - `runFilterFile` to run a Lua filter from file; - data type `Global` and its constructors; and - `setGlobals` to add globals to a Lua environment. This module also contains `Pushable` and `Peekable` instances required to get pandoc's data types to and from Lua. Low-level Lua operation remain hidden in Text.Pandoc.Lua.
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-8/+39
The function `runLuaFilter` was only used in Text.Pandoc.Filter.Lua, use apply from the that module instead.
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane3-0/+6
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-01-15Renaming: Json -> JSON in modules and functions.John MacFarlane1-1/+1
2018-01-13Move filter functions to separate moduleAlbert Krewinkel3-0/+203