mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-31 20:55:45 +00:00
29 lines
701 B
Haskell
29 lines
701 B
Haskell
{- |
|
|
Module : Text.Pandoc.Lua
|
|
Copyright : Copyright © 2017-2024 Albert Krewinkel
|
|
License : GNU GPL, version 2 or above
|
|
|
|
Maintainer : Albert Krewinkel <albert+pandoc@tarleb.com>
|
|
Stability : alpha
|
|
|
|
Running pandoc Lua filters.
|
|
-}
|
|
module Text.Pandoc.Lua
|
|
( -- * High-level functions
|
|
applyFilter
|
|
, loadCustom
|
|
-- * Low-level functions
|
|
, Global(..)
|
|
, setGlobals
|
|
, runLua
|
|
, runLuaNoEnv
|
|
-- * Engine
|
|
, getEngine
|
|
) where
|
|
|
|
import Text.Pandoc.Lua.Custom (loadCustom)
|
|
import Text.Pandoc.Lua.Engine (getEngine, applyFilter)
|
|
import Text.Pandoc.Lua.Global (Global (..), setGlobals)
|
|
import Text.Pandoc.Lua.Run (runLua, runLuaNoEnv)
|
|
import Text.Pandoc.Lua.Orphans ()
|