该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.