這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Hairspaces Around Dashes

外掛說明

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.

使用者評論

2023 年 5 月 21 日
Hairspace are a really common solution in book and magazine editing for em dashes, that can be hard to read without spaces, and too long and awkward with the spaces. But on the web, there isn't a good solution as those spaces can help with justification. I tested on my website, and it works well without any issues. Thank you for developing this—more people should use it.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Hairspaces Around Dashes〉的開發相關工作。

參與者

將〈Hairspaces Around Dashes〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.