pandoc-2.1.1: Conversion between markup formats

CopyrightCopyright © 2017–2018 Albert Krewinkel
LicenseGNU GPL, version 2 or above
MaintainerAlbert Krewinkel <tarleb+pandoc@moltkeplatz.de>
Stabilityalpha
Safe HaskellNone
LanguageHaskell98

Text.Pandoc.Lua

Description

Running pandoc Lua filters.

Synopsis

Documentation

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.