Description
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.
Installation
Upload in the ‘plugins’ folder and activate.
Reviews
certainlyakey
February 15, 2018
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.
Contributors & Developers
“Cipher” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Cipher” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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.