Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- data InclusionMode
- data InclusionError
- = InvalidRange LineNumber LineNumber
- | IncompleteRange MissingRangePart
- | ConflictingModes [InclusionMode]
- includeCode :: Maybe Format -> Block -> IO Block
- includeCode' :: Block -> IO (Either InclusionError Block)
Documentation
data InclusionMode Source #
Instances
Eq InclusionMode Source # | |
Defined in Text.Pandoc.Filter.IncludeCode (==) :: InclusionMode -> InclusionMode -> Bool # (/=) :: InclusionMode -> InclusionMode -> Bool # | |
Show InclusionMode Source # | |
Defined in Text.Pandoc.Filter.IncludeCode showsPrec :: Int -> InclusionMode -> ShowS # show :: InclusionMode -> String # showList :: [InclusionMode] -> ShowS # |
data InclusionError Source #
InvalidRange LineNumber LineNumber | |
IncompleteRange MissingRangePart | |
ConflictingModes [InclusionMode] |
Instances
Eq InclusionError Source # | |
Defined in Text.Pandoc.Filter.IncludeCode (==) :: InclusionError -> InclusionError -> Bool # (/=) :: InclusionError -> InclusionError -> Bool # | |
Show InclusionError Source # | |
Defined in Text.Pandoc.Filter.IncludeCode showsPrec :: Int -> InclusionError -> ShowS # show :: InclusionError -> String # showList :: [InclusionError] -> ShowS # |
includeCode :: Maybe Format -> Block -> IO Block Source #
A Pandoc filter that includes code snippets from external files.
includeCode' :: Block -> IO (Either InclusionError Block) Source #