Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Gitit.Interface
Description
Interface for plugins.
A plugin is a Haskell module that is dynamically loaded by gitit.
There are three kinds of plugins: PageTransform
s,
PreParseTransform
s, and PreCommitTransform
s. These plugins differ
chiefly in where they are applied. PreCommitTransform
plugins are
applied just before changes to a page are saved and may transform
the raw source that is saved. PreParseTransform
plugins are applied
when a page is viewed and may alter the raw page source before it
is parsed as a Pandoc
document. Finally, PageTransform
plugins
modify the Pandoc
document that results after a page's source is
parsed, but before it is converted to HTML:
+--------------------------+ | edited text from browser | +--------------------------+ || <---- PreCommitTransform plugins \/ || <---- saved to repository \/ +---------------------------------+ | raw page source from repository | +---------------------------------+ || <---- PreParseTransform plugins \/ || <---- markdown or RST reader \/ +-----------------+ | Pandoc document | +-----------------+ || <---- PageTransform plugins \/ +---------------------+ | new Pandoc document | +---------------------+ || <---- HTML writer \/ +----------------------+ | HTML version of page | +----------------------+
Note that PreParseTransform
and PageTransform
plugins do not alter
the page source stored in the repository. They only affect what is
visible on the website. Only PreCommitTransform
plugins can
alter what is stored in the repository.
Note also that PreParseTransform
and PageTransform
plugins will
not be run when the cached version of a page is used. Plugins can
use the doNotCache
command to prevent a page from being cached,
if their behavior is sensitive to things that might change from
one time to another (such as the time or currently logged-in user).
You can use the helper functions mkPageTransform
and mkPageTransformM
to create PageTransform
plugins from a transformation of any
of the basic types used by Pandoc (for example, Inline
, Block
,
[Inline]
, even String
). Here is a simple (if silly) example:
-- Deprofanizer.hs module Deprofanizer (plugin) where -- This plugin replaces profane words with "XXXXX". import Network.Gitit.Interface import Data.Char (toLower) plugin :: Plugin plugin = mkPageTransform deprofanize deprofanize :: Inline -> Inline deprofanize (Str x) | isBadWord x = Str "XXXXX" deprofanize x = x isBadWord :: String -> Bool isBadWord x = (map toLower x) `elem` ["darn", "blasted", "stinker"] -- there are more, but this is a family program
Further examples can be found in the plugins
directory in
the source distribution. If you have installed gitit using Cabal,
you can also find them in the directory
CABALDIR/share/gitit-X.Y.Z/plugins
, where CABALDIR
is the cabal
install directory and X.Y.Z
is the version number of gitit.
Synopsis
- data Plugin
- = PageTransform (Pandoc -> PluginM Pandoc)
- | PreParseTransform (String -> PluginM String)
- | PreCommitTransform (String -> PluginM String)
- type PluginM = ReaderT PluginData (StateT Context IO)
- mkPageTransform :: Data a => (a -> a) -> Plugin
- mkPageTransformM :: Data a => (a -> PluginM a) -> Plugin
- data Config = Config {
- repositoryPath :: FilePath
- repositoryType :: FileStoreType
- defaultPageType :: PageType
- defaultExtension :: String
- mathMethod :: MathMethod
- defaultLHS :: Bool
- showLHSBirdTracks :: Bool
- withUser :: Handler -> Handler
- requireAuthentication :: AuthenticationLevel
- authHandler :: Handler
- userFile :: FilePath
- sessionTimeout :: Int
- templatesDir :: FilePath
- logFile :: FilePath
- logLevel :: Priority
- staticDir :: FilePath
- pluginModules :: [String]
- tableOfContents :: Bool
- maxUploadSize :: Integer
- maxPageSize :: Integer
- address :: String
- portNumber :: Int
- debugMode :: Bool
- frontPage :: String
- noEdit :: [String]
- noDelete :: [String]
- defaultSummary :: String
- deleteSummary :: String
- accessQuestion :: Maybe (String, [String])
- disableRegistration :: Bool
- useRecaptcha :: Bool
- recaptchaPublicKey :: String
- recaptchaPrivateKey :: String
- rpxDomain :: String
- rpxKey :: String
- compressResponses :: Bool
- useCache :: Bool
- cacheDir :: FilePath
- mimeMap :: Map String String
- mailCommand :: String
- resetPasswordMessage :: String
- markupHelp :: Text
- useFeed :: Bool
- baseUrl :: String
- useAbsoluteUrls :: Bool
- wikiTitle :: String
- feedDays :: Integer
- feedRefreshTime :: Integer
- pandocUserData :: Maybe FilePath
- xssSanitize :: Bool
- recentActivityDays :: Int
- githubAuth :: GithubConfig
- data Request = Request {}
- data User = User {}
- data Context = Context {
- ctxFile :: String
- ctxLayout :: PageLayout
- ctxCacheable :: Bool
- ctxTOC :: Bool
- ctxBirdTracks :: Bool
- ctxCategories :: [String]
- ctxMeta :: [(String, String)]
- data PageType
- data PageLayout = PageLayout {
- pgPageName :: String
- pgRevision :: Maybe String
- pgPrintable :: Bool
- pgMessages :: [String]
- pgTitle :: String
- pgScripts :: [String]
- pgShowPageTools :: Bool
- pgShowSiteNav :: Bool
- pgMarkupHelp :: Maybe Text
- pgTabs :: [Tab]
- pgSelectedTab :: Tab
- pgLinkToFeed :: Bool
- askConfig :: PluginM Config
- askUser :: PluginM (Maybe User)
- askRequest :: PluginM Request
- askFileStore :: PluginM FileStore
- askMeta :: PluginM [(String, String)]
- doNotCache :: PluginM ()
- getContext :: HasContext m => m Context
- modifyContext :: HasContext m => (Context -> Context) -> m ()
- inlinesToURL :: [Inline] -> String
- inlinesToString :: [Inline] -> String
- liftIO :: MonadIO m => IO a -> m a
- withTempDir :: FilePath -> (FilePath -> IO a) -> IO a
- data Pandoc = Pandoc Meta [Block]
- data Inline
- = Str Text
- | Emph [Inline]
- | Underline [Inline]
- | Strong [Inline]
- | Strikeout [Inline]
- | Superscript [Inline]
- | Subscript [Inline]
- | SmallCaps [Inline]
- | Quoted QuoteType [Inline]
- | Cite [Citation] [Inline]
- | Code Attr Text
- | Space
- | SoftBreak
- | LineBreak
- | Math MathType Text
- | RawInline Format Text
- | Link Attr [Inline] Target
- | Image Attr [Inline] Target
- | Note [Block]
- | Span Attr [Inline]
- data Block
- = Plain [Inline]
- | Para [Inline]
- | LineBlock [[Inline]]
- | CodeBlock Attr Text
- | RawBlock Format Text
- | BlockQuote [Block]
- | OrderedList ListAttributes [[Block]]
- | BulletList [[Block]]
- | DefinitionList [([Inline], [[Block]])]
- | Header Int Attr [Inline]
- | HorizontalRule
- | Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot
- | Figure Attr Caption [Block]
- | Div Attr [Block]
- newtype Meta = Meta {}
- data Alignment
- data Caption = Caption (Maybe ShortCaption) [Block]
- data Cell = Cell Attr Alignment RowSpan ColSpan [Block]
- data CitationMode
- data Citation = Citation {
- citationId :: Text
- citationPrefix :: [Inline]
- citationSuffix :: [Inline]
- citationMode :: CitationMode
- citationNoteNum :: Int
- citationHash :: Int
- newtype ColSpan = ColSpan Int
- data ColWidth
- = ColWidth Double
- | ColWidthDefault
- newtype Format = Format Text
- data ListNumberDelim
- data ListNumberStyle
- data MathType
- data MetaValue
- = MetaMap (Map Text MetaValue)
- | MetaList [MetaValue]
- | MetaBool Bool
- | MetaString Text
- | MetaInlines [Inline]
- | MetaBlocks [Block]
- data QuoteType
- newtype RowHeadColumns = RowHeadColumns Int
- newtype RowSpan = RowSpan Int
- data Row = Row Attr [Cell]
- data TableBody = TableBody Attr RowHeadColumns [Row] [Row]
- data TableFoot = TableFoot Attr [Row]
- data TableHead = TableHead Attr [Row]
- pattern SimpleFigure :: Attr -> [Inline] -> Target -> Block
- docAuthors :: Meta -> [[Inline]]
- docDate :: Meta -> [Inline]
- docTitle :: Meta -> [Inline]
- isNullMeta :: Meta -> Bool
- lookupMeta :: Text -> Meta -> Maybe MetaValue
- nullAttr :: Attr
- nullMeta :: Meta
- pandocTypesVersion :: Version
- type Attr = (Text, [Text], [(Text, Text)])
- type ColSpec = (Alignment, ColWidth)
- type ListAttributes = (Int, ListNumberStyle, ListNumberDelim)
- type ShortCaption = [Inline]
- type Target = (Text, Text)
- bottomUp :: (Data a, Data b) => (a -> a) -> b -> b
- bottomUpM :: (Monad m, Data a, Data b) => (a -> m a) -> b -> m b
- queryWith :: (Data a, Monoid b, Data c) => (a -> b) -> c -> b
- topDown :: (Data a, Data b) => (a -> a) -> b -> b
Documentation
Constructors
PageTransform (Pandoc -> PluginM Pandoc) | |
PreParseTransform (String -> PluginM String) | |
PreCommitTransform (String -> PluginM String) |
type PluginM = ReaderT PluginData (StateT Context IO) Source #
mkPageTransform :: Data a => (a -> a) -> Plugin Source #
Lifts a function from a -> a
(for example, Inline -> Inline
,
Block -> Block
, [Inline] -> [Inline]
, or String -> String
)
to a PageTransform
plugin.
mkPageTransformM :: Data a => (a -> PluginM a) -> Plugin Source #
Monadic version of mkPageTransform
.
Lifts a function from a -> m a
to a PageTransform
plugin.
Data structure for information read from config file.
Constructors
Config | |
Fields
|
Constructors
Request | |
Instances
Show Request | |
HasHeaders Request | |
Defined in Happstack.Server.Internal.Types |
Constructors
Context | |
Fields
|
Instances
HasContext ContentTransformer Source # | |
Defined in Network.Gitit.Types Methods getContext :: ContentTransformer Context Source # modifyContext :: (Context -> Context) -> ContentTransformer () Source # | |
HasContext PluginM Source # | |
Defined in Network.Gitit.Types |
data PageLayout Source #
Abstract representation of page layout (tabs, scripts, etc.)
Constructors
PageLayout | |
Fields
|
askUser :: PluginM (Maybe User) Source #
Returns Just
the logged in user, or Nothing
if nobody is logged in.
askRequest :: PluginM Request Source #
Returns the complete HTTP request.
askFileStore :: PluginM FileStore Source #
Returns the wiki filestore.
doNotCache :: PluginM () Source #
Indicates that the current page or file is not to be cached.
getContext :: HasContext m => m Context Source #
modifyContext :: HasContext m => (Context -> Context) -> m () Source #
inlinesToURL :: [Inline] -> String Source #
Derives a URL from a list of Pandoc Inline elements.
inlinesToString :: [Inline] -> String Source #
Convert a list of inlines into a string.
withTempDir :: FilePath -> (FilePath -> IO a) -> IO a Source #
Perform a function in a temporary directory and clean up.
Instances
FromJSON Pandoc | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Pandoc parseJSONList :: Value -> Parser [Pandoc] omittedField :: Maybe Pandoc | |||||
ToJSON Pandoc | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Pandoc -> Encoding toJSONList :: [Pandoc] -> Value toEncodingList :: [Pandoc] -> Encoding | |||||
Data Pandoc | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pandoc -> c Pandoc gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Pandoc dataTypeOf :: Pandoc -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Pandoc) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Pandoc) gmapT :: (forall b. Data b => b -> b) -> Pandoc -> Pandoc gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pandoc -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pandoc -> r gmapQ :: (forall d. Data d => d -> u) -> Pandoc -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Pandoc -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pandoc -> m Pandoc gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pandoc -> m Pandoc gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pandoc -> m Pandoc | |||||
Monoid Pandoc | |||||
Semigroup Pandoc | |||||
Generic Pandoc | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Pandoc | |||||
Defined in Text.Pandoc.Definition | |||||
Show Pandoc | |||||
NFData Pandoc | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Pandoc | |||||
Ord Pandoc | |||||
HasMeta Pandoc | |||||
Defined in Text.Pandoc.Builder | |||||
Walkable Block Pandoc | |||||
Walkable Inline Pandoc | |||||
Walkable Meta Pandoc | |||||
Walkable MetaValue Pandoc | |||||
Walkable Pandoc Pandoc | |||||
Walkable [Block] Pandoc | |||||
Walkable [Inline] Pandoc | |||||
type Rep Pandoc | |||||
Defined in Text.Pandoc.Definition type Rep Pandoc = D1 ('MetaData "Pandoc" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "Pandoc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Meta) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) |
Constructors
Str Text | |
Emph [Inline] | |
Underline [Inline] | |
Strong [Inline] | |
Strikeout [Inline] | |
Superscript [Inline] | |
Subscript [Inline] | |
SmallCaps [Inline] | |
Quoted QuoteType [Inline] | |
Cite [Citation] [Inline] | |
Code Attr Text | |
Space | |
SoftBreak | |
LineBreak | |
Math MathType Text | |
RawInline Format Text | |
Link Attr [Inline] Target | |
Image Attr [Inline] Target | |
Note [Block] | |
Span Attr [Inline] |
Instances
FromJSON Inline | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Inline parseJSONList :: Value -> Parser [Inline] omittedField :: Maybe Inline | |||||
ToJSON Inline | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Inline -> Encoding toJSONList :: [Inline] -> Value toEncodingList :: [Inline] -> Encoding | |||||
Data Inline | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Inline -> c Inline gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Inline dataTypeOf :: Inline -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Inline) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Inline) gmapT :: (forall b. Data b => b -> b) -> Inline -> Inline gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r gmapQ :: (forall d. Data d => d -> u) -> Inline -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Inline -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Inline -> m Inline gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline | |||||
IsString Inlines | |||||
Defined in Text.Pandoc.Builder Methods fromString :: String -> Inlines | |||||
Monoid Inlines | |||||
Defined in Text.Pandoc.Builder | |||||
Semigroup Inlines | |||||
Defined in Text.Pandoc.Builder | |||||
Generic Inline | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Inline | |||||
Defined in Text.Pandoc.Definition | |||||
Show Inline | |||||
NFData Inline | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Inline | |||||
Ord Inline | |||||
ToMetaValue Inlines | |||||
Defined in Text.Pandoc.Builder Methods toMetaValue :: Inlines -> MetaValue | |||||
Walkable Block Inline | |||||
Walkable Inline Chunk | |||||
Walkable Inline ChunkedDoc | |||||
Walkable Inline SecInfo | |||||
Walkable Inline Block | |||||
Walkable Inline Caption | |||||
Walkable Inline Cell | |||||
Walkable Inline Citation | |||||
Walkable Inline Inline | |||||
Walkable Inline Meta | |||||
Walkable Inline MetaValue | |||||
Walkable Inline Pandoc | |||||
Walkable Inline Row | |||||
Walkable Inline TableBody | |||||
Walkable Inline TableFoot | |||||
Walkable Inline TableHead | |||||
Walkable [Block] Inline | |||||
Walkable [Inline] Block | |||||
Walkable [Inline] Caption | |||||
Walkable [Inline] Cell | |||||
Walkable [Inline] Citation | |||||
Walkable [Inline] Inline | |||||
Walkable [Inline] Meta | |||||
Walkable [Inline] MetaValue | |||||
Walkable [Inline] Pandoc | |||||
Walkable [Inline] Row | |||||
Walkable [Inline] TableBody | |||||
Walkable [Inline] TableFoot | |||||
Walkable [Inline] TableHead | |||||
Walkable [Inline] [Inline] | |||||
type Rep Inline | |||||
Defined in Text.Pandoc.Definition type Rep Inline = D1 ('MetaData "Inline" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Emph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Underline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Strong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikeout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "SmallCaps" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Quoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QuoteType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Cite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Citation]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])))))) :+: (((C1 ('MetaCons "Code" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Space" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SoftBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LineBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Math" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MathType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) :+: ((C1 ('MetaCons "RawInline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target)))) :+: (C1 ('MetaCons "Image" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))) :+: (C1 ('MetaCons "Note" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))))) |
Constructors
Plain [Inline] | |
Para [Inline] | |
LineBlock [[Inline]] | |
CodeBlock Attr Text | |
RawBlock Format Text | |
BlockQuote [Block] | |
OrderedList ListAttributes [[Block]] | |
BulletList [[Block]] | |
DefinitionList [([Inline], [[Block]])] | |
Header Int Attr [Inline] | |
HorizontalRule | |
Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot | |
Figure Attr Caption [Block] | |
Div Attr [Block] |
Instances
FromJSON Block | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Block parseJSONList :: Value -> Parser [Block] omittedField :: Maybe Block | |||||
ToJSON Block | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Block -> Encoding toJSONList :: [Block] -> Value toEncodingList :: [Block] -> Encoding | |||||
Data Block | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Block -> c Block gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Block dataTypeOf :: Block -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Block) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Block) gmapT :: (forall b. Data b => b -> b) -> Block -> Block gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r gmapQ :: (forall d. Data d => d -> u) -> Block -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Block -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Block -> m Block gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block | |||||
Monoid Blocks | |||||
Defined in Text.Pandoc.Builder | |||||
Semigroup Blocks | |||||
Defined in Text.Pandoc.Builder | |||||
Generic Block | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Block | |||||
Defined in Text.Pandoc.Definition | |||||
Show Block | |||||
NFData Block | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Block | |||||
Ord Block | |||||
ToMetaValue Blocks | |||||
Defined in Text.Pandoc.Builder Methods toMetaValue :: Blocks -> MetaValue | |||||
Walkable Block Chunk | |||||
Walkable Block ChunkedDoc | |||||
Walkable Block Block | |||||
Walkable Block Caption | |||||
Walkable Block Cell | |||||
Walkable Block Citation | |||||
Walkable Block Inline | |||||
Walkable Block Meta | |||||
Walkable Block MetaValue | |||||
Walkable Block Pandoc | |||||
Walkable Block Row | |||||
Walkable Block TableBody | |||||
Walkable Block TableFoot | |||||
Walkable Block TableHead | |||||
Walkable Inline Block | |||||
Walkable [Block] Block | |||||
Walkable [Block] Caption | |||||
Walkable [Block] Cell | |||||
Walkable [Block] Citation | |||||
Walkable [Block] Inline | |||||
Walkable [Block] Meta | |||||
Walkable [Block] MetaValue | |||||
Walkable [Block] Pandoc | |||||
Walkable [Block] Row | |||||
Walkable [Block] TableBody | |||||
Walkable [Block] TableFoot | |||||
Walkable [Block] TableHead | |||||
Walkable [Inline] Block | |||||
Walkable [Block] [Block] | |||||
type Rep Block | |||||
Defined in Text.Pandoc.Definition type Rep Block = D1 ('MetaData "Block" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (((C1 ('MetaCons "Plain" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Para" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "LineBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Inline]])))) :+: ((C1 ('MetaCons "CodeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "RawBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :+: (C1 ('MetaCons "BlockQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListAttributes) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]]))))) :+: ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]])) :+: (C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [([Inline], [[Block]])])) :+: C1 ('MetaCons "Header" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "HorizontalRule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ColSpec]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableHead) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TableBody]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableFoot))))) :+: (C1 ('MetaCons "Figure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) :+: C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))))) |
Instances
FromJSON Meta | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Meta parseJSONList :: Value -> Parser [Meta] omittedField :: Maybe Meta | |||||
ToJSON Meta | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Meta -> Encoding toJSONList :: [Meta] -> Value toEncodingList :: [Meta] -> Encoding | |||||
Data Meta | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Meta -> c Meta gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Meta dataTypeOf :: Meta -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Meta) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Meta) gmapT :: (forall b. Data b => b -> b) -> Meta -> Meta gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Meta -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Meta -> r gmapQ :: (forall d. Data d => d -> u) -> Meta -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Meta -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Meta -> m Meta gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Meta -> m Meta gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Meta -> m Meta | |||||
Monoid Meta | |||||
Semigroup Meta | |||||
Generic Meta | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Meta | |||||
Defined in Text.Pandoc.Definition | |||||
Show Meta | |||||
NFData Meta | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Meta | |||||
Ord Meta | |||||
HasMeta Meta | |||||
Defined in Text.Pandoc.Builder | |||||
Walkable Block Meta | |||||
Walkable Inline Meta | |||||
Walkable Meta Meta | |||||
Walkable Meta Pandoc | |||||
Walkable MetaValue Meta | |||||
Walkable [Block] Meta | |||||
Walkable [Inline] Meta | |||||
type Rep Meta | |||||
Defined in Text.Pandoc.Definition |
Constructors
AlignLeft | |
AlignRight | |
AlignCenter | |
AlignDefault |
Instances
FromJSON Alignment | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Alignment parseJSONList :: Value -> Parser [Alignment] omittedField :: Maybe Alignment | |||||
ToJSON Alignment | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Alignment -> Encoding toJSONList :: [Alignment] -> Value toEncodingList :: [Alignment] -> Encoding | |||||
Data Alignment | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Alignment -> c Alignment gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Alignment toConstr :: Alignment -> Constr dataTypeOf :: Alignment -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Alignment) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Alignment) gmapT :: (forall b. Data b => b -> b) -> Alignment -> Alignment gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Alignment -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Alignment -> r gmapQ :: (forall d. Data d => d -> u) -> Alignment -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Alignment -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Alignment -> m Alignment gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Alignment -> m Alignment gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Alignment -> m Alignment | |||||
Generic Alignment | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Alignment | |||||
Defined in Text.Pandoc.Definition | |||||
Show Alignment | |||||
NFData Alignment | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Alignment | |||||
Ord Alignment | |||||
Defined in Text.Pandoc.Definition | |||||
type Rep Alignment | |||||
Defined in Text.Pandoc.Definition type Rep Alignment = D1 ('MetaData "Alignment" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) ((C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignDefault" 'PrefixI 'False) (U1 :: Type -> Type))) |
Constructors
Caption (Maybe ShortCaption) [Block] |
Instances
FromJSON Caption | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Caption parseJSONList :: Value -> Parser [Caption] omittedField :: Maybe Caption | |||||
ToJSON Caption | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Caption -> Encoding toJSONList :: [Caption] -> Value toEncodingList :: [Caption] -> Encoding | |||||
Data Caption | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Caption -> c Caption gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Caption dataTypeOf :: Caption -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Caption) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Caption) gmapT :: (forall b. Data b => b -> b) -> Caption -> Caption gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Caption -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Caption -> r gmapQ :: (forall d. Data d => d -> u) -> Caption -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Caption -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Caption -> m Caption gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Caption -> m Caption gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Caption -> m Caption | |||||
Generic Caption | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Caption | |||||
Defined in Text.Pandoc.Definition | |||||
Show Caption | |||||
NFData Caption | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Caption | |||||
Ord Caption | |||||
Walkable Block Caption | |||||
Walkable Inline Caption | |||||
Walkable [Block] Caption | |||||
Walkable [Inline] Caption | |||||
type Rep Caption | |||||
Defined in Text.Pandoc.Definition type Rep Caption = D1 ('MetaData "Caption" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "Caption" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShortCaption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) |
Instances
FromJSON Cell | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Cell parseJSONList :: Value -> Parser [Cell] omittedField :: Maybe Cell | |||||
ToJSON Cell | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Cell -> Encoding toJSONList :: [Cell] -> Value toEncodingList :: [Cell] -> Encoding | |||||
Data Cell | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cell -> c Cell gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cell dataTypeOf :: Cell -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cell) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cell) gmapT :: (forall b. Data b => b -> b) -> Cell -> Cell gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r gmapQ :: (forall d. Data d => d -> u) -> Cell -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Cell -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cell -> m Cell gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell | |||||
Generic Cell | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Cell | |||||
Defined in Text.Pandoc.Definition | |||||
Show Cell | |||||
NFData Cell | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Cell | |||||
Ord Cell | |||||
Walkable Block Cell | |||||
Walkable Inline Cell | |||||
Walkable [Block] Cell | |||||
Walkable [Inline] Cell | |||||
type Rep Cell | |||||
Defined in Text.Pandoc.Definition type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Alignment)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 RowSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 ColSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))))) |
data CitationMode #
Constructors
AuthorInText | |
SuppressAuthor | |
NormalCitation |
Instances
FromJSON CitationMode | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser CitationMode parseJSONList :: Value -> Parser [CitationMode] omittedField :: Maybe CitationMode | |||||
ToJSON CitationMode | |||||
Defined in Text.Pandoc.Definition Methods toJSON :: CitationMode -> Value toEncoding :: CitationMode -> Encoding toJSONList :: [CitationMode] -> Value toEncodingList :: [CitationMode] -> Encoding omitField :: CitationMode -> Bool | |||||
Data CitationMode | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CitationMode -> c CitationMode gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CitationMode toConstr :: CitationMode -> Constr dataTypeOf :: CitationMode -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CitationMode) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CitationMode) gmapT :: (forall b. Data b => b -> b) -> CitationMode -> CitationMode gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CitationMode -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CitationMode -> r gmapQ :: (forall d. Data d => d -> u) -> CitationMode -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CitationMode -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CitationMode -> m CitationMode gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CitationMode -> m CitationMode gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CitationMode -> m CitationMode | |||||
Generic CitationMode | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read CitationMode | |||||
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS CitationMode readList :: ReadS [CitationMode] readPrec :: ReadPrec CitationMode readListPrec :: ReadPrec [CitationMode] | |||||
Show CitationMode | |||||
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> CitationMode -> ShowS show :: CitationMode -> String showList :: [CitationMode] -> ShowS | |||||
NFData CitationMode | |||||
Defined in Text.Pandoc.Definition Methods rnf :: CitationMode -> () | |||||
Eq CitationMode | |||||
Defined in Text.Pandoc.Definition | |||||
Ord CitationMode | |||||
Defined in Text.Pandoc.Definition Methods compare :: CitationMode -> CitationMode -> Ordering (<) :: CitationMode -> CitationMode -> Bool (<=) :: CitationMode -> CitationMode -> Bool (>) :: CitationMode -> CitationMode -> Bool (>=) :: CitationMode -> CitationMode -> Bool max :: CitationMode -> CitationMode -> CitationMode min :: CitationMode -> CitationMode -> CitationMode | |||||
type Rep CitationMode | |||||
Defined in Text.Pandoc.Definition type Rep CitationMode = D1 ('MetaData "CitationMode" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "AuthorInText" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SuppressAuthor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NormalCitation" 'PrefixI 'False) (U1 :: Type -> Type))) |
Constructors
Citation | |
Fields
|
Instances
FromJSON Citation | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Citation parseJSONList :: Value -> Parser [Citation] omittedField :: Maybe Citation | |||||
ToJSON Citation | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Citation -> Encoding toJSONList :: [Citation] -> Value toEncodingList :: [Citation] -> Encoding | |||||
Data Citation | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Citation -> c Citation gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Citation toConstr :: Citation -> Constr dataTypeOf :: Citation -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Citation) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Citation) gmapT :: (forall b. Data b => b -> b) -> Citation -> Citation gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Citation -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Citation -> r gmapQ :: (forall d. Data d => d -> u) -> Citation -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Citation -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Citation -> m Citation gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Citation -> m Citation gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Citation -> m Citation | |||||
Generic Citation | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Citation | |||||
Defined in Text.Pandoc.Definition | |||||
Show Citation | |||||
NFData Citation | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Citation | |||||
Ord Citation | |||||
Defined in Text.Pandoc.Definition | |||||
Walkable Block Citation | |||||
Walkable Inline Citation | |||||
Walkable [Block] Citation | |||||
Walkable [Inline] Citation | |||||
type Rep Citation | |||||
Defined in Text.Pandoc.Definition type Rep Citation = D1 ('MetaData "Citation" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "citationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "citationPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "citationSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :*: (S1 ('MetaSel ('Just "citationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CitationMode) :*: (S1 ('MetaSel ('Just "citationNoteNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Int))))) |
Constructors
ColSpan Int |
Instances
FromJSON ColSpan | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ColSpan parseJSONList :: Value -> Parser [ColSpan] omittedField :: Maybe ColSpan | |||||
ToJSON ColSpan | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: ColSpan -> Encoding toJSONList :: [ColSpan] -> Value toEncodingList :: [ColSpan] -> Encoding | |||||
Data ColSpan | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColSpan -> c ColSpan gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColSpan dataTypeOf :: ColSpan -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColSpan) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColSpan) gmapT :: (forall b. Data b => b -> b) -> ColSpan -> ColSpan gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColSpan -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColSpan -> r gmapQ :: (forall d. Data d => d -> u) -> ColSpan -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ColSpan -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColSpan -> m ColSpan gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColSpan -> m ColSpan gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColSpan -> m ColSpan | |||||
Enum ColSpan | |||||
Defined in Text.Pandoc.Definition | |||||
Generic ColSpan | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Num ColSpan | |||||
Read ColSpan | |||||
Defined in Text.Pandoc.Definition | |||||
Show ColSpan | |||||
NFData ColSpan | |||||
Defined in Text.Pandoc.Definition | |||||
Eq ColSpan | |||||
Ord ColSpan | |||||
type Rep ColSpan | |||||
Defined in Text.Pandoc.Definition type Rep ColSpan = D1 ('MetaData "ColSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'True) (C1 ('MetaCons "ColSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
Constructors
ColWidth Double | |
ColWidthDefault |
Instances
FromJSON ColWidth | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ColWidth parseJSONList :: Value -> Parser [ColWidth] omittedField :: Maybe ColWidth | |||||
ToJSON ColWidth | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: ColWidth -> Encoding toJSONList :: [ColWidth] -> Value toEncodingList :: [ColWidth] -> Encoding | |||||
Data ColWidth | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColWidth -> c ColWidth gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColWidth toConstr :: ColWidth -> Constr dataTypeOf :: ColWidth -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColWidth) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColWidth) gmapT :: (forall b. Data b => b -> b) -> ColWidth -> ColWidth gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColWidth -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColWidth -> r gmapQ :: (forall d. Data d => d -> u) -> ColWidth -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ColWidth -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColWidth -> m ColWidth gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColWidth -> m ColWidth gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColWidth -> m ColWidth | |||||
Generic ColWidth | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read ColWidth | |||||
Defined in Text.Pandoc.Definition | |||||
Show ColWidth | |||||
NFData ColWidth | |||||
Defined in Text.Pandoc.Definition | |||||
Eq ColWidth | |||||
Ord ColWidth | |||||
Defined in Text.Pandoc.Definition | |||||
type Rep ColWidth | |||||
Defined in Text.Pandoc.Definition type Rep ColWidth = D1 ('MetaData "ColWidth" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "ColWidth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Double)) :+: C1 ('MetaCons "ColWidthDefault" 'PrefixI 'False) (U1 :: Type -> Type)) |
Constructors
Format Text |
Instances
FromJSON Format | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Format parseJSONList :: Value -> Parser [Format] omittedField :: Maybe Format | |||||
ToJSON Format | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: Format -> Encoding toJSONList :: [Format] -> Value toEncodingList :: [Format] -> Encoding | |||||
Data Format | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Format -> c Format gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Format dataTypeOf :: Format -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Format) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Format) gmapT :: (forall b. Data b => b -> b) -> Format -> Format gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Format -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Format -> r gmapQ :: (forall d. Data d => d -> u) -> Format -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Format -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Format -> m Format gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Format -> m Format gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Format -> m Format | |||||
IsString Format | |||||
Defined in Text.Pandoc.Definition Methods fromString :: String -> Format | |||||
Generic Format | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Format | |||||
Defined in Text.Pandoc.Definition | |||||
Show Format | |||||
NFData Format | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Format | |||||
Ord Format | |||||
(ToJSONFilter m a, MonadIO m) => ToJSONFilter m (Maybe Format -> a) | |||||
Defined in Text.Pandoc.JSON Methods toJSONFilter :: (Maybe Format -> a) -> m () | |||||
type Rep Format | |||||
Defined in Text.Pandoc.Definition type Rep Format = D1 ('MetaData "Format" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data ListNumberDelim #
Constructors
DefaultDelim | |
Period | |
OneParen | |
TwoParens |
Instances
FromJSON ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberDelim parseJSONList :: Value -> Parser [ListNumberDelim] omittedField :: Maybe ListNumberDelim | |||||
ToJSON ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberDelim -> Value toEncoding :: ListNumberDelim -> Encoding toJSONList :: [ListNumberDelim] -> Value toEncodingList :: [ListNumberDelim] -> Encoding omitField :: ListNumberDelim -> Bool | |||||
Data ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListNumberDelim -> c ListNumberDelim gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListNumberDelim toConstr :: ListNumberDelim -> Constr dataTypeOf :: ListNumberDelim -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListNumberDelim) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListNumberDelim) gmapT :: (forall b. Data b => b -> b) -> ListNumberDelim -> ListNumberDelim gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberDelim -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberDelim -> r gmapQ :: (forall d. Data d => d -> u) -> ListNumberDelim -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ListNumberDelim -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListNumberDelim -> m ListNumberDelim gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberDelim -> m ListNumberDelim gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberDelim -> m ListNumberDelim | |||||
Generic ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Associated Types
Methods from :: ListNumberDelim -> Rep ListNumberDelim x to :: Rep ListNumberDelim x -> ListNumberDelim | |||||
Read ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ListNumberDelim readList :: ReadS [ListNumberDelim] readPrec :: ReadPrec ListNumberDelim readListPrec :: ReadPrec [ListNumberDelim] | |||||
Show ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ListNumberDelim -> ShowS show :: ListNumberDelim -> String showList :: [ListNumberDelim] -> ShowS | |||||
NFData ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods rnf :: ListNumberDelim -> () | |||||
Eq ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods (==) :: ListNumberDelim -> ListNumberDelim -> Bool (/=) :: ListNumberDelim -> ListNumberDelim -> Bool | |||||
Ord ListNumberDelim | |||||
Defined in Text.Pandoc.Definition Methods compare :: ListNumberDelim -> ListNumberDelim -> Ordering (<) :: ListNumberDelim -> ListNumberDelim -> Bool (<=) :: ListNumberDelim -> ListNumberDelim -> Bool (>) :: ListNumberDelim -> ListNumberDelim -> Bool (>=) :: ListNumberDelim -> ListNumberDelim -> Bool max :: ListNumberDelim -> ListNumberDelim -> ListNumberDelim min :: ListNumberDelim -> ListNumberDelim -> ListNumberDelim | |||||
type Rep ListNumberDelim | |||||
Defined in Text.Pandoc.Definition type Rep ListNumberDelim = D1 ('MetaData "ListNumberDelim" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) ((C1 ('MetaCons "DefaultDelim" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Period" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OneParen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TwoParens" 'PrefixI 'False) (U1 :: Type -> Type))) |
data ListNumberStyle #
Constructors
DefaultStyle | |
Example | |
Decimal | |
LowerRoman | |
UpperRoman | |
LowerAlpha | |
UpperAlpha |
Instances
FromJSON ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberStyle parseJSONList :: Value -> Parser [ListNumberStyle] omittedField :: Maybe ListNumberStyle | |||||
ToJSON ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberStyle -> Value toEncoding :: ListNumberStyle -> Encoding toJSONList :: [ListNumberStyle] -> Value toEncodingList :: [ListNumberStyle] -> Encoding omitField :: ListNumberStyle -> Bool | |||||
Data ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListNumberStyle -> c ListNumberStyle gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListNumberStyle toConstr :: ListNumberStyle -> Constr dataTypeOf :: ListNumberStyle -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListNumberStyle) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListNumberStyle) gmapT :: (forall b. Data b => b -> b) -> ListNumberStyle -> ListNumberStyle gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberStyle -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberStyle -> r gmapQ :: (forall d. Data d => d -> u) -> ListNumberStyle -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ListNumberStyle -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListNumberStyle -> m ListNumberStyle gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberStyle -> m ListNumberStyle gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberStyle -> m ListNumberStyle | |||||
Generic ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Associated Types
Methods from :: ListNumberStyle -> Rep ListNumberStyle x to :: Rep ListNumberStyle x -> ListNumberStyle | |||||
Read ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ListNumberStyle readList :: ReadS [ListNumberStyle] readPrec :: ReadPrec ListNumberStyle readListPrec :: ReadPrec [ListNumberStyle] | |||||
Show ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ListNumberStyle -> ShowS show :: ListNumberStyle -> String showList :: [ListNumberStyle] -> ShowS | |||||
NFData ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods rnf :: ListNumberStyle -> () | |||||
Eq ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods (==) :: ListNumberStyle -> ListNumberStyle -> Bool (/=) :: ListNumberStyle -> ListNumberStyle -> Bool | |||||
Ord ListNumberStyle | |||||
Defined in Text.Pandoc.Definition Methods compare :: ListNumberStyle -> ListNumberStyle -> Ordering (<) :: ListNumberStyle -> ListNumberStyle -> Bool (<=) :: ListNumberStyle -> ListNumberStyle -> Bool (>) :: ListNumberStyle -> ListNumberStyle -> Bool (>=) :: ListNumberStyle -> ListNumberStyle -> Bool max :: ListNumberStyle -> ListNumberStyle -> ListNumberStyle min :: ListNumberStyle -> ListNumberStyle -> ListNumberStyle | |||||
type Rep ListNumberStyle | |||||
Defined in Text.Pandoc.Definition type Rep ListNumberStyle = D1 ('MetaData "ListNumberStyle" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) ((C1 ('MetaCons "DefaultStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Example" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Decimal" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LowerRoman" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperRoman" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LowerAlpha" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperAlpha" 'PrefixI 'False) (U1 :: Type -> Type)))) |
Constructors
DisplayMath | |
InlineMath |
Instances
FromJSON MathType | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser MathType parseJSONList :: Value -> Parser [MathType] omittedField :: Maybe MathType | |||||
ToJSON MathType | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: MathType -> Encoding toJSONList :: [MathType] -> Value toEncodingList :: [MathType] -> Encoding | |||||
Data MathType | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MathType -> c MathType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MathType toConstr :: MathType -> Constr dataTypeOf :: MathType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MathType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MathType) gmapT :: (forall b. Data b => b -> b) -> MathType -> MathType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MathType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MathType -> r gmapQ :: (forall d. Data d => d -> u) -> MathType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MathType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MathType -> m MathType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MathType -> m MathType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MathType -> m MathType | |||||
Generic MathType | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read MathType | |||||
Defined in Text.Pandoc.Definition | |||||
Show MathType | |||||
NFData MathType | |||||
Defined in Text.Pandoc.Definition | |||||
Eq MathType | |||||
Ord MathType | |||||
Defined in Text.Pandoc.Definition | |||||
type Rep MathType | |||||
Defined in Text.Pandoc.Definition type Rep MathType = D1 ('MetaData "MathType" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type)) |
Constructors
MetaMap (Map Text MetaValue) | |
MetaList [MetaValue] | |
MetaBool Bool | |
MetaString Text | |
MetaInlines [Inline] | |
MetaBlocks [Block] |
Instances
FromJSON MetaValue | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser MetaValue parseJSONList :: Value -> Parser [MetaValue] omittedField :: Maybe MetaValue | |||||
ToJSON MetaValue | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: MetaValue -> Encoding toJSONList :: [MetaValue] -> Value toEncodingList :: [MetaValue] -> Encoding | |||||
Data MetaValue | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetaValue -> c MetaValue gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetaValue toConstr :: MetaValue -> Constr dataTypeOf :: MetaValue -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetaValue) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetaValue) gmapT :: (forall b. Data b => b -> b) -> MetaValue -> MetaValue gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetaValue -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetaValue -> r gmapQ :: (forall d. Data d => d -> u) -> MetaValue -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MetaValue -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetaValue -> m MetaValue gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetaValue -> m MetaValue gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetaValue -> m MetaValue | |||||
Generic MetaValue | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read MetaValue | |||||
Defined in Text.Pandoc.Definition | |||||
Show MetaValue | |||||
NFData MetaValue | |||||
Defined in Text.Pandoc.Definition | |||||
Eq MetaValue | |||||
Ord MetaValue | |||||
Defined in Text.Pandoc.Definition | |||||
ToMetaValue MetaValue | |||||
Defined in Text.Pandoc.Builder Methods toMetaValue :: MetaValue -> MetaValue | |||||
Walkable Block MetaValue | |||||
Walkable Inline MetaValue | |||||
Walkable MetaValue Meta | |||||
Walkable MetaValue MetaValue | |||||
Walkable MetaValue Pandoc | |||||
Walkable [Block] MetaValue | |||||
Walkable [Inline] MetaValue | |||||
type Rep MetaValue | |||||
Defined in Text.Pandoc.Definition type Rep MetaValue = D1 ('MetaData "MetaValue" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) ((C1 ('MetaCons "MetaMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map Text MetaValue))) :+: (C1 ('MetaCons "MetaList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetaValue])) :+: C1 ('MetaCons "MetaBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :+: (C1 ('MetaCons "MetaString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "MetaInlines" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "MetaBlocks" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))))) |
Constructors
SingleQuote | |
DoubleQuote |
Instances
FromJSON QuoteType | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser QuoteType parseJSONList :: Value -> Parser [QuoteType] omittedField :: Maybe QuoteType | |||||
ToJSON QuoteType | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: QuoteType -> Encoding toJSONList :: [QuoteType] -> Value toEncodingList :: [QuoteType] -> Encoding | |||||
Data QuoteType | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QuoteType -> c QuoteType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QuoteType toConstr :: QuoteType -> Constr dataTypeOf :: QuoteType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QuoteType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QuoteType) gmapT :: (forall b. Data b => b -> b) -> QuoteType -> QuoteType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QuoteType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QuoteType -> r gmapQ :: (forall d. Data d => d -> u) -> QuoteType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> QuoteType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType | |||||
Generic QuoteType | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read QuoteType | |||||
Defined in Text.Pandoc.Definition | |||||
Show QuoteType | |||||
NFData QuoteType | |||||
Defined in Text.Pandoc.Definition | |||||
Eq QuoteType | |||||
Ord QuoteType | |||||
Defined in Text.Pandoc.Definition | |||||
type Rep QuoteType | |||||
Defined in Text.Pandoc.Definition type Rep QuoteType = D1 ('MetaData "QuoteType" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "SingleQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoubleQuote" 'PrefixI 'False) (U1 :: Type -> Type)) |
newtype RowHeadColumns #
Constructors
RowHeadColumns Int |
Instances
FromJSON RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser RowHeadColumns parseJSONList :: Value -> Parser [RowHeadColumns] omittedField :: Maybe RowHeadColumns | |||||
ToJSON RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods toJSON :: RowHeadColumns -> Value toEncoding :: RowHeadColumns -> Encoding toJSONList :: [RowHeadColumns] -> Value toEncodingList :: [RowHeadColumns] -> Encoding omitField :: RowHeadColumns -> Bool | |||||
Data RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RowHeadColumns -> c RowHeadColumns gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RowHeadColumns toConstr :: RowHeadColumns -> Constr dataTypeOf :: RowHeadColumns -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RowHeadColumns) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RowHeadColumns) gmapT :: (forall b. Data b => b -> b) -> RowHeadColumns -> RowHeadColumns gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RowHeadColumns -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RowHeadColumns -> r gmapQ :: (forall d. Data d => d -> u) -> RowHeadColumns -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RowHeadColumns -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RowHeadColumns -> m RowHeadColumns gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RowHeadColumns -> m RowHeadColumns gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RowHeadColumns -> m RowHeadColumns | |||||
Enum RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods succ :: RowHeadColumns -> RowHeadColumns pred :: RowHeadColumns -> RowHeadColumns toEnum :: Int -> RowHeadColumns fromEnum :: RowHeadColumns -> Int enumFrom :: RowHeadColumns -> [RowHeadColumns] enumFromThen :: RowHeadColumns -> RowHeadColumns -> [RowHeadColumns] enumFromTo :: RowHeadColumns -> RowHeadColumns -> [RowHeadColumns] enumFromThenTo :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns -> [RowHeadColumns] | |||||
Generic RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Num RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods (+) :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns (-) :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns (*) :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns negate :: RowHeadColumns -> RowHeadColumns abs :: RowHeadColumns -> RowHeadColumns signum :: RowHeadColumns -> RowHeadColumns fromInteger :: Integer -> RowHeadColumns | |||||
Read RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS RowHeadColumns readList :: ReadS [RowHeadColumns] readPrec :: ReadPrec RowHeadColumns readListPrec :: ReadPrec [RowHeadColumns] | |||||
Show RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> RowHeadColumns -> ShowS show :: RowHeadColumns -> String showList :: [RowHeadColumns] -> ShowS | |||||
NFData RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods rnf :: RowHeadColumns -> () | |||||
Eq RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods (==) :: RowHeadColumns -> RowHeadColumns -> Bool (/=) :: RowHeadColumns -> RowHeadColumns -> Bool | |||||
Ord RowHeadColumns | |||||
Defined in Text.Pandoc.Definition Methods compare :: RowHeadColumns -> RowHeadColumns -> Ordering (<) :: RowHeadColumns -> RowHeadColumns -> Bool (<=) :: RowHeadColumns -> RowHeadColumns -> Bool (>) :: RowHeadColumns -> RowHeadColumns -> Bool (>=) :: RowHeadColumns -> RowHeadColumns -> Bool max :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns min :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns | |||||
type Rep RowHeadColumns | |||||
Defined in Text.Pandoc.Definition type Rep RowHeadColumns = D1 ('MetaData "RowHeadColumns" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'True) (C1 ('MetaCons "RowHeadColumns" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
Constructors
RowSpan Int |
Instances
FromJSON RowSpan | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser RowSpan parseJSONList :: Value -> Parser [RowSpan] omittedField :: Maybe RowSpan | |||||
ToJSON RowSpan | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: RowSpan -> Encoding toJSONList :: [RowSpan] -> Value toEncodingList :: [RowSpan] -> Encoding | |||||
Data RowSpan | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RowSpan -> c RowSpan gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RowSpan dataTypeOf :: RowSpan -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RowSpan) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RowSpan) gmapT :: (forall b. Data b => b -> b) -> RowSpan -> RowSpan gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RowSpan -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RowSpan -> r gmapQ :: (forall d. Data d => d -> u) -> RowSpan -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RowSpan -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RowSpan -> m RowSpan gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RowSpan -> m RowSpan gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RowSpan -> m RowSpan | |||||
Enum RowSpan | |||||
Defined in Text.Pandoc.Definition | |||||
Generic RowSpan | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Num RowSpan | |||||
Read RowSpan | |||||
Defined in Text.Pandoc.Definition | |||||
Show RowSpan | |||||
NFData RowSpan | |||||
Defined in Text.Pandoc.Definition | |||||
Eq RowSpan | |||||
Ord RowSpan | |||||
type Rep RowSpan | |||||
Defined in Text.Pandoc.Definition type Rep RowSpan = D1 ('MetaData "RowSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'True) (C1 ('MetaCons "RowSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
Instances
FromJSON Row | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Row parseJSONList :: Value -> Parser [Row] omittedField :: Maybe Row | |||||
ToJSON Row | |||||
Defined in Text.Pandoc.Definition | |||||
Data Row | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Row -> c Row gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Row dataTypeOf :: Row -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Row) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Row) gmapT :: (forall b. Data b => b -> b) -> Row -> Row gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r gmapQ :: (forall d. Data d => d -> u) -> Row -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Row -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Row -> m Row gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row | |||||
Generic Row | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read Row | |||||
Defined in Text.Pandoc.Definition | |||||
Show Row | |||||
NFData Row | |||||
Defined in Text.Pandoc.Definition | |||||
Eq Row | |||||
Ord Row | |||||
Walkable Block Row | |||||
Walkable Inline Row | |||||
Walkable [Block] Row | |||||
Walkable [Inline] Row | |||||
type Rep Row | |||||
Defined in Text.Pandoc.Definition type Rep Row = D1 ('MetaData "Row" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "Row" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Cell]))) |
Constructors
TableBody Attr RowHeadColumns [Row] [Row] |
Instances
FromJSON TableBody | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser TableBody parseJSONList :: Value -> Parser [TableBody] omittedField :: Maybe TableBody | |||||
ToJSON TableBody | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: TableBody -> Encoding toJSONList :: [TableBody] -> Value toEncodingList :: [TableBody] -> Encoding | |||||
Data TableBody | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableBody -> c TableBody gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableBody toConstr :: TableBody -> Constr dataTypeOf :: TableBody -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableBody) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableBody) gmapT :: (forall b. Data b => b -> b) -> TableBody -> TableBody gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableBody -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableBody -> r gmapQ :: (forall d. Data d => d -> u) -> TableBody -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TableBody -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody | |||||
Generic TableBody | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read TableBody | |||||
Defined in Text.Pandoc.Definition | |||||
Show TableBody | |||||
NFData TableBody | |||||
Defined in Text.Pandoc.Definition | |||||
Eq TableBody | |||||
Ord TableBody | |||||
Defined in Text.Pandoc.Definition | |||||
Walkable Block TableBody | |||||
Walkable Inline TableBody | |||||
Walkable [Block] TableBody | |||||
Walkable [Inline] TableBody | |||||
type Rep TableBody | |||||
Defined in Text.Pandoc.Definition type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "TableBody" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 RowHeadColumns)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row])))) |
Instances
FromJSON TableFoot | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser TableFoot parseJSONList :: Value -> Parser [TableFoot] omittedField :: Maybe TableFoot | |||||
ToJSON TableFoot | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: TableFoot -> Encoding toJSONList :: [TableFoot] -> Value toEncodingList :: [TableFoot] -> Encoding | |||||
Data TableFoot | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableFoot -> c TableFoot gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableFoot toConstr :: TableFoot -> Constr dataTypeOf :: TableFoot -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableFoot) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableFoot) gmapT :: (forall b. Data b => b -> b) -> TableFoot -> TableFoot gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableFoot -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableFoot -> r gmapQ :: (forall d. Data d => d -> u) -> TableFoot -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TableFoot -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot | |||||
Generic TableFoot | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read TableFoot | |||||
Defined in Text.Pandoc.Definition | |||||
Show TableFoot | |||||
NFData TableFoot | |||||
Defined in Text.Pandoc.Definition | |||||
Eq TableFoot | |||||
Ord TableFoot | |||||
Defined in Text.Pandoc.Definition | |||||
Walkable Block TableFoot | |||||
Walkable Inline TableFoot | |||||
Walkable [Block] TableFoot | |||||
Walkable [Inline] TableFoot | |||||
type Rep TableFoot | |||||
Defined in Text.Pandoc.Definition type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "TableFoot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]))) |
Instances
FromJSON TableHead | |||||
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser TableHead parseJSONList :: Value -> Parser [TableHead] omittedField :: Maybe TableHead | |||||
ToJSON TableHead | |||||
Defined in Text.Pandoc.Definition Methods toEncoding :: TableHead -> Encoding toJSONList :: [TableHead] -> Value toEncodingList :: [TableHead] -> Encoding | |||||
Data TableHead | |||||
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableHead -> c TableHead gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableHead toConstr :: TableHead -> Constr dataTypeOf :: TableHead -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableHead) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableHead) gmapT :: (forall b. Data b => b -> b) -> TableHead -> TableHead gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableHead -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableHead -> r gmapQ :: (forall d. Data d => d -> u) -> TableHead -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TableHead -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead | |||||
Generic TableHead | |||||
Defined in Text.Pandoc.Definition Associated Types
| |||||
Read TableHead | |||||
Defined in Text.Pandoc.Definition | |||||
Show TableHead | |||||
NFData TableHead | |||||
Defined in Text.Pandoc.Definition | |||||
Eq TableHead | |||||
Ord TableHead | |||||
Defined in Text.Pandoc.Definition | |||||
Walkable Block TableHead | |||||
Walkable Inline TableHead | |||||
Walkable [Block] TableHead | |||||
Walkable [Inline] TableHead | |||||
type Rep TableHead | |||||
Defined in Text.Pandoc.Definition type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Definition" "pandoc-types-1.23.1-5ZybgqUPDNU8ufT4ciGwq9" 'False) (C1 ('MetaCons "TableHead" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]))) |
docAuthors :: Meta -> [[Inline]] #
isNullMeta :: Meta -> Bool #
lookupMeta :: Text -> Meta -> Maybe MetaValue #
pandocTypesVersion :: Version #
type ListAttributes = (Int, ListNumberStyle, ListNumberDelim) #
type ShortCaption = [Inline] #