| Copyright | Copyright (C) 2006-2021 John MacFarlane | 
|---|---|
| License | GNU GPL, version 2 or above | 
| Maintainer | John MacFarlane <jgm@berkeley@edu> | 
| Stability | alpha | 
| Portability | portable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Text.Pandoc.Filter
Description
Programmatically modifications of pandoc documents.
Synopsis
- data Filter
- applyFilters :: ReaderOptions -> [Filter] -> [String] -> Pandoc -> PandocIO Pandoc
Documentation
Type of filter and path to filter file.
Constructors
| LuaFilter FilePath | |
| JSONFilter FilePath | |
| CiteprocFilter | 
Instances
| Show Filter Source # | |
| Generic Filter Source # | |
| FromYAML Filter Source # | |
| ToJSON Filter Source # | |
| Defined in Text.Pandoc.Filter | |
| FromJSON Filter Source # | |
| type Rep Filter Source # | |
| Defined in Text.Pandoc.Filter type Rep Filter = D1 ('MetaData "Filter" "Text.Pandoc.Filter" "pandoc-2.11.4-GARoF9L5FepLxmKPWuVpBe" 'False) (C1 ('MetaCons "LuaFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :+: (C1 ('MetaCons "JSONFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :+: C1 ('MetaCons "CiteprocFilter" 'PrefixI 'False) (U1 :: Type -> Type))) | |
applyFilters :: ReaderOptions -> [Filter] -> [String] -> Pandoc -> PandocIO Pandoc Source #
Modify the given document using a filter.