pandoc-1.17.2: Conversion between markup formats

CopyrightCopyright (C) 2012-2015 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.Pandoc.Writers.Custom

Contents

Description

Conversion of Pandoc documents to custom markup using a lua writer.

Synopsis

Documentation

writeCustom :: FilePath -> WriterOptions -> Pandoc -> IO String Source #

Convert Pandoc to custom markup.

Orphan instances

StackValue MetaValue Source # 
StackValue Format Source # 

Methods

push :: LuaState -> Format -> IO () #

peek :: LuaState -> Int -> IO (Maybe Format) #

valuetype :: Format -> LTYPE #

StackValue Citation Source # 
StackValue [Char] Source # 

Methods

push :: LuaState -> [Char] -> IO () #

peek :: LuaState -> Int -> IO (Maybe [Char]) #

valuetype :: [Char] -> LTYPE #

StackValue [Block] Source # 

Methods

push :: LuaState -> [Block] -> IO () #

peek :: LuaState -> Int -> IO (Maybe [Block]) #

valuetype :: [Block] -> LTYPE #

StackValue [Inline] Source # 

Methods

push :: LuaState -> [Inline] -> IO () #

peek :: LuaState -> Int -> IO (Maybe [Inline]) #

valuetype :: [Inline] -> LTYPE #

(StackValue a, StackValue b) => StackValue (a, b) Source # 

Methods

push :: LuaState -> (a, b) -> IO () #

peek :: LuaState -> Int -> IO (Maybe (a, b)) #

valuetype :: (a, b) -> LTYPE #

(StackValue a, StackValue b) => StackValue (Map a b) Source # 

Methods

push :: LuaState -> Map a b -> IO () #

peek :: LuaState -> Int -> IO (Maybe (Map a b)) #

valuetype :: Map a b -> LTYPE #