Template:Zero width space/doc

From Azupedia
Revision as of 19:07, 13 March 2021 by imported>Fire (ページの作成:「{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{二次利用}} {{Template shortcut|zwsp|0ws}} {{tl|Zwsp}} inserts t…」)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Zwsp}} inserts the code &#x200B; literally, which produces a Error using {{unichar}}: Input "200B" is not a hexadecimal value. in the rendered wiki-page.

Usage

This is a convenience template for the zero-width space character, U+200B (&#x200B;).
It is completely invisible in display, but has the effect of acting as a multi-line breaking point for text inside a word that otherwise would not break. Whitespace and normal dashes (-) are already multi-line breakpoints, but this template allows the special insertion of invisible breakpoints inside words.

The zero-width space character has a higher breaking priority than the hyphen character (-), so when using it in a phrase with hyphen, it is recommended to place a zero-width space immediately after each hyphen as well.

See also

Template:Inline spacing templates