Template:Zero width space: Difference between revisions

From The FunKey Wiki
m (Changed protection level for "Template:Zero width space": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 09:46, 15 August 2021

This documentation is transcluded from Template:Zero width space/doc.

{{Template:Zero width space}} inserts the code ​ literally, which produces a U+200B ZERO WIDTH SPACE in the rendered wiki-page.

Usage[edit source]

This is a convenience template for the zero-width space character, U+200B (​).
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[edit source]