pandoc-2.9.2.1: Conversion between markup formats

CopyrightCopyright (C) 2006-2020 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley@edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Filter

Description

Programmatically modifications of pandoc documents.

Synopsis

Documentation

data Filter Source #

Type of filter and path to filter file.

Instances
Show Filter Source # 
Instance details

Defined in Text.Pandoc.Filter

Generic Filter Source # 
Instance details

Defined in Text.Pandoc.Filter

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

FromYAML Filter Source # 
Instance details

Defined in Text.Pandoc.Filter

ToJSON Filter Source # 
Instance details

Defined in Text.Pandoc.Filter

FromJSON Filter Source # 
Instance details

Defined in Text.Pandoc.Filter

type Rep Filter Source # 
Instance details

Defined in Text.Pandoc.Filter

type Rep Filter = D1 (MetaData "Filter" "Text.Pandoc.Filter" "pandoc-2.9.2.1-4oLrLZy0dB6LFxzyaMpsxg" 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.