Skip to content

createLanguageHyphenator

createLanguageHyphenator(language, bundle): Hyphenator

Defined in: src/core/hyphenation/index.ts:71

Synchronous variant of getHyphenator: build a Hyphenator from already-loaded pattern strings (useful when patterns are bundled or fetched out-of-band).

SupportedLanguage

The language (selects the left/right minimums).

The pattern and optional exception strings.

string

string

Hyphenator

The hyphenator.