Highlighting Code Block
Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)
+7
Overview
Compatibility
Installation instructions
Customer support & learning resources
Changelog
Main benefits
Syntax-highlighted code block
Supports Block and Classic Editor
Easy language selection
Simple insertion process
Customizable settings
About this plugin
Author: Ryo
Categories: Utilities
Version: 2.0.1
Last updated: 12-11-2023
WordPress version: 5.6
Tested up to: 6.4.5
PHP version required: 5.6
Languages: Ελληνικά, Français [+1]
Tags:
Learning resources: View resources
Overview
The "Highlighting Code Block" plugin for WordPress enables users to easily add syntax-highlighted code blocks to their posts with just a click. It is compatible with both the Block Editor and Classic Editor, though it is recommended for use in the Block Editor. Users can effortlessly select their code language and insert code blocks, enhancing readability and engagement. The plugin requires PHP 5.6 or later and WordPress 5.6 or later. Settings for the plugin can be accessed via the "[HCB] Settings" in the WordPress admin panel. The source code is available on GitHub, providing transparency and enabling community contributions. Detailed usage instructions and more information are available on the plugin's documentation page.
Easy Syntax Highlighting
- Allows you to add a syntax-highlighted code block with just a click.
- Supports a variety of programming languages for highlighting.
Compatibility with Editors
- Supports both Block Editor and Classic Editor.
- Recommended for use in the Block Editor for optimal performance.
User-Friendly Interface
- In Block Editor, simply open the 'Formatting' category and select 'Highlighting Code Block'.
- In Classic Editor, use the 'Code Block' select box on the toolbar to insert a code block.
Customizable Settings
- Settings can be accessed via the '[HCB] Settings' menu in the WordPress admin panel.
- Allows for customization of plugin behavior and appearance.