citeproc-0.8.1.3: 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 #

Wraps a function used to define textcase transformations.

withUppercaseAll :: CaseTransformer #

Uppercase everything.

withLowercaseAll :: CaseTransformer #

Lowercase everything.

withCapitalizeWords :: CaseTransformer #

Capitalize all words.

withCapitalizeFirst :: CaseTransformer #

Capitalize first letter.

withSentenceCase :: CaseTransformer #

Capitalize first letter of each sentence.

withTitleCase :: CaseTransformer #

Use title case.