aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Filter
AgeCommit message (Collapse)AuthorFilesLines
2019-03-01Remove license boilerplate.John MacFarlane3-54/+0
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync.
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel3-6/+6
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592.
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