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

Cipher

描述

Cipher is a settings-free plugin that allows commenters to publish (pre-formatted) code.

Functionalities:

  • Backticks (`) can be used as an alternative to the <code> tag to mark up both in-line and pre-formatted code within a comment.
  • Formatted chunks of code or pieces of code longer than 70 characters posted via the comment form automatically wrapped in pre+code tags.
  • Special characters in code submitted through the comment form automatically converted to HTML entities.

安裝

Upload in the ‘plugins’ folder and activate.

評價

2018年2月15日
The snippet overlay doesn't open due to some Javascript error, but the wrapping button in post editor still works fine. UPD: a version with the snippet overlay fixed can be found here https://github.com/Exove/cipher. Would be glad to integrate the changes into the WP.org plugin, but can't find any contact of the author.
閱讀全部2個評價

貢獻者及開發者

“Cipher” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Cipher 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.2.2

Refreshed the plugin’s metadata.

1.2.1

Improved the namespacing of the base class.

1.2

  • Removed the QuickTags feature, incompatible with the new Gutenberg editor.
  • Periods, slashes and @ are no longer converted to HTML entities.