pandoc-highlighting-extensions-1.0.0.0: Syntax highlighting customization for Pandoc

Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Highlighting.Extensions.WriterOptions

Description

Functions on WriterOptions that modify the syntax highlighting.

Synopsis

Documentation

applyAllSyntaxExtensions :: WriterOptions -> WriterOptions Source #

Apply all of the syntax highlighting extensions provided by the skylighting-extensions package to Pandoc writer options.

modifySyntaxMap :: (SyntaxMap -> SyntaxMap) -> WriterOptions -> WriterOptions Source #

Apply a function to the SyntaxMap within Pandoc writer options.

modifySyntax Source #

Arguments

:: Text

Name of the syntax to modify

-> (Syntax -> Syntax) 
-> WriterOptions 
-> WriterOptions 

Modify a particular syntax by name.

modifyContext Source #

Arguments

:: Text

Name of the syntax to modify

-> Text

Name of the context to modify

-> (Context -> Context) 
-> WriterOptions 
-> WriterOptions 

Modify a particular syntax context by name.