Code Format
Better code format for the WordPress block editor.
by Milen Petrinski - Gonzo · github.com/gonzomir/code-format · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/gonzomir/code-format/archive/refs/heads/master.zipReadme
=== Code Format === Contributors: gonzomir Tags: code, block editor, format, code tag Requires at least: 5.0 Tested up to: 5.0.3 Requires PHP: 5.6 Stable tag: 0.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Add code format button to the rich text area toolbar in the block editor.
== Description == Although the new block editor has built-in code format for marking up inline code, it lacks dedicated button on the rich editor toolbar, and the shortcuts is hard to use in some environments. This plugin adds the code button to the toolbar and changes the shortcut to Ctrl+D (Cmd+D on Mac).
== Installation ==
Clone this repo or download it as ZIP file and upload it to the plugins directory of your WordPress installation.