Copyright | Copyright (C) 2006-2019 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley@edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Programmatically modifications of pandoc documents.
Synopsis
- data Filter
- applyFilters :: ReaderOptions -> [Filter] -> [String] -> Pandoc -> PandocIO Pandoc
Documentation
Type of filter and path to filter file.
Instances
Show Filter Source # | |
Generic 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.7.3-K9bjYBS3hHZ5doC1zqcMY5" 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))) |
applyFilters :: ReaderOptions -> [Filter] -> [String] -> Pandoc -> PandocIO Pandoc Source #
Modify the given document using a filter.