citeproc-0.5: Generates citations and bibliography from CSL styles.
Safe HaskellNone
LanguageHaskell2010

Citeproc.CaseTransform

Description

Provides functions that facilitate defining textcase transformations. To see how these can be used used, see the definitions of addTextCase in Citeproc.Pandoc and Citproc.CslJson.

Synopsis

Documentation

newtype CaseTransformer Source #

Wraps a function used to define textcase transformations.

withUppercaseAll :: CaseTransformer Source #

Uppercase everything.

withLowercaseAll :: CaseTransformer Source #

Lowercase everything.

withCapitalizeFirst :: CaseTransformer Source #

Capitalize first letter.

withSentenceCase :: CaseTransformer Source #

Capitalize first letter of each sentence.