Template:Zero width space/doc

Revision as of 19:52, 10 September 2020 by wikipedia>Funandtrvl (See also: cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.

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

Usage

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 dash character (-), so when using it in a phrase with dashes, it is recommended to place a zero-width space immediately after each dash as well.

See also