pandoc-2.0.6: Conversion between markup formats

CopyrightCopyright © 2017 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 :: 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.

pushPandocModule :: Maybe FilePath -> Lua NumResults Source #

DEPRECATED: Push the pandoc module to the Lua Stack.