Copyright | Copyright © 2017–2018 Albert Krewinkel |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> |
Stability | alpha |
Safe Haskell | None |
Language | Haskell98 |
Running pandoc Lua filters.
- data LuaException :: * = LuaException String
- runLuaFilter :: ReaderOptions -> FilePath -> String -> Pandoc -> PandocIO (Either LuaException Pandoc)
- runPandocLua :: Lua a -> PandocIO (Either LuaException a)
Documentation
data LuaException :: * #
Exceptions raised by Lua-related operations.
runLuaFilter :: ReaderOptions -> FilePath -> String -> Pandoc -> PandocIO (Either LuaException Pandoc) Source #
Run the Lua filter in filterPath
for a transformation to target
format format
. Pandoc uses Lua init files to setup the Lua
interpreter.
runPandocLua :: Lua a -> PandocIO (Either LuaException a) Source #
Run the lua interpreter, using pandoc's default way of environment initalization.