Lýsing
Dashes are punctuation marks that are commonly used in written text. A long dash (—) is known as an em dash, whereas a short dash (–) is known as an en dash.
This plugin converts any whitespace around dashes into smaller hairspaces, to produce a more elegant typographic effect.
Both em and en dashes are recognized.
Look at the following sentence, which uses dashes:
I love this plugin — and everything about it — because it works so well.
When this plugin is activated, the sentence would appear like this (with smaller spaces around the dashes):
I love this plugin — and everything about it — because it works so well.
Umsagnir
Þátttakendur & höfundar
“Hairspaces Around Dashes” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.
HöfundarTranslate “Hairspaces Around Dashes” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Breytingarsaga
1.0.5
- Tested plugin with WordPress 6.0
1.0.4
- Create event-handling function for internal code.
- Add extra tag.
1.0.3
- Eat all surrounding whitespace, not just the nearest character.
1.0.2
- Fix formatting error in readme.
1.0.1
- Minor edits to internal code.
- Changelog created.
1.0.0
- First version.