Project

text-aligner

A zero-dependency TypeScript utility for aligning mixed English and CJK text.

Writing angle

A compact post about Unicode display width, terminals, tables, and the hidden difficulty of “just add spaces.”

Interactive demo

inline

A monospace alignment workbench with editable mixed-language rows, before/after output, and character-width annotations.

text-aligner

CJK alignment workbench

String length and display width stop being the same once CJK text enters the row.

Aligned output

 

Width map