obsidian-prettify
obsidian-prettify copied to clipboard
(table formatter) full-width characters should count for 2 chars
CJK languages have full-width characters, but the table formatter counts a CJK (full-width) char as one char.
But in fact a CKJ char should occupy 2 chars' space if you use monospace CJK fonts (example).
Currently the advanced tables obsidian plugin treats the full-width chars pretty well, but the markdown prettifier here doesn't.
Result with advanced tables:
Result with markdown prettifier:
Just to expand on this, this also happens with emojis in tables ruining the alignment
Properly aligned from advanced tables
After prettifying