Template:Zero width joiner/doc
From Guild of Archivists
This is a documentation subpage for Template:Zero width joiner. It contains usage information, categories and other content that is not part of the original template page. |
The template {{zwj}} inserts the code
, producing a U+200D zero-width joiner (HTML: ‍
‍
) in the rendered wiki-page. This invisibly 'sews together' two words as if they were a single word, preventing their separation at line breaks. It acts as a {{no-break space}}
except is immaterial and does not display on the page.
Usage
This template can be used, for example, to prevent text to wrap as in:
- something that needs a citation
[citation needed]
Inserting {{zwj}}
between the text and the tag produces instead:
- something that needs a citation[citation needed]