Version 2 of Intl Segmenter. Adding line break support.
-
Updated
May 10, 2022 - HTML
Version 2 of Intl Segmenter. Adding line break support.
Full Unicode 15.1 Line Breaking Algorithm, conformant with UAX #14.
Get width of a Unicode string in fixed-width display cells, accounting for combining characters, emojis, flags, Hangul, East Asian Width, default ignorables, and a few more.
CJK-aware hard wrapping for Neovim. UAX #14 line breaking + kinsoku shori (禁則処理) via 'formatexpr'. Markdown/MDX aware. Zero dependencies.
Unicode 17 line break opportunities for strings and character iterators
To associate your repository with the uax14 topic, visit your repo's landing page and select "manage topics."