DiacriticOptions
Defined in: src/options.ts:421 (opens in a new tab)
Which semantic diacritics are kept. all sets every class at once; a class
named alongside it is the exception: { all: "remove", roughBreathing: "preserve" }. The shorthand is expanded where it is written, so all in
the caller’s options overrides every class a preset set.
Removing a class removes its marks from the output in every format. In
transliteration the rough breathing is a letter, h: it goes with its
class, so { all: "remove", roughBreathing: "preserve" } keeps it. The
letters stay as they are spelled: in transliteration, eta and omega keep
the length mark that longVowels selects (η → ē, ω → ō by
default), which spells the letter and is not a diacritic.
Extends
Section titled “Extends”Properties
Section titled “Properties”accents?
Section titled “accents?”
optionalaccents?:DiacriticDisposition
Defined in: src/options.ts:388 (opens in a new tab)
Accent marks: acute, grave, and circumflex. Defaults to "preserve".
Inherited from
Section titled “Inherited from”
optionalall?:DiacriticDisposition
Defined in: src/options.ts:423 (opens in a new tab)
Disposition of every class not named alongside.
coronis?
Section titled “coronis?”
optionalcoronis?:DiacriticDisposition
Defined in: src/options.ts:394 (opens in a new tab)
Internal coronides marking crasis. Defaults to "preserve".
Inherited from
Section titled “Inherited from”diaeresis?
Section titled “diaeresis?”
optionaldiaeresis?:DiacriticDisposition
Defined in: src/options.ts:396 (opens in a new tab)
Diaeresis marks. Defaults to "preserve".
Inherited from
Section titled “Inherited from”DiacriticClassOptions.diaeresis
iotaSubscript?
Section titled “iotaSubscript?”
optionaliotaSubscript?:DiacriticDisposition
Defined in: src/options.ts:398 (opens in a new tab)
Iota subscripts. Defaults to "preserve".
Inherited from
Section titled “Inherited from”DiacriticClassOptions.iotaSubscript
overline?
Section titled “overline?”
optionaloverline?:DiacriticDisposition
Defined in: src/options.ts:405 (opens in a new tab)
The overline of abbreviations and numerals, such as the nomina sacra
(θ̅ς̅). Defaults to "preserve".
Inherited from
Section titled “Inherited from”DiacriticClassOptions.overline
quantity?
Section titled “quantity?”
optionalquantity?:DiacriticDisposition
Defined in: src/options.ts:400 (opens in a new tab)
Explicit macron and breve quantity marks. Defaults to "preserve".
Inherited from
Section titled “Inherited from”DiacriticClassOptions.quantity
roughBreathing?
Section titled “roughBreathing?”
optionalroughBreathing?:DiacriticDisposition
Defined in: src/options.ts:392 (opens in a new tab)
Initial rough breathing marks. Defaults to "preserve".
Inherited from
Section titled “Inherited from”DiacriticClassOptions.roughBreathing
smoothBreathing?
Section titled “smoothBreathing?”
optionalsmoothBreathing?:DiacriticDisposition
Defined in: src/options.ts:390 (opens in a new tab)
Initial smooth breathing marks. Defaults to "preserve".