WP Code Highlight
WP Code Highlight provides clean syntax highlighting and it also provides a code button.
The facts
- Rating
- 3.9★ from 14
- Active installs
- 200+
- Price
- Free
- Last updated
- 2 Aug 2014
- Added
- Sep 2011
- Requires WP
- 2.7
- Tested up to
- WP 3.9.40
- Downloads
- 56,229
Our analysis
AI-assistedWP Code Highlight is a WordPress plugin that provides syntax highlighting for source code snippets. It allows you to wrap code blocks in <pre> tags and includes a button in the HTML editor for easy code insertion.
The plugin automatically detects the programming language used and supports all languages. It offers four highlight themes and the option to include line numbers in the displayed code. This plugin may suit users who need to present code snippets on their WordPress sites.
Best for: This plugin is suitable for WordPress users who need to showcase code snippets on their sites.
What it does well
- ✓Provides syntax highlighting for code snippets
- ✓Automatically detects programming languages
- ✓Includes a button for easy code insertion
- ✓Offers four highlight themes
- ✓Can load custom CSS from the current theme directory
Where it falls short
- •Last updated in August 2014
- •Limited active installs and low directory score
- •Compatibility tested only up to WordPress 3.9.40
Verdict
WP Code Highlight offers basic syntax highlighting features but may not be suitable for users needing up-to-date support or extensive functionality.
From the developer
acalbert's own description of WP Code Highlight, lightly tidied.
WP Code Highlight provides syntax highlighting of source code snippets and it is W3C valid.
Wrap code blocks with <pre> and </pre>
It provides a code button(HTML editor) to help you insert code in articles easily.
You don’t need to specify the language since WP Code Highlight will guess, all languages are supported.
You can put line numbers in your code if you need.
There are 4 highlight themes, you can choose from them or display by random.
It can also load wp-code-highlight.css from current wordpress theme directory.
It can delete its own options, so it is also a green plugin !
Basic Usage
- Download and extract
wp-code-highlight.ziptowp-content/plugins/ - Activate the plugin through the “Plugins” menu in WordPress
- “Dashboard”->”Users”->”Your Profile”->”Disable the visual editor when writing”
- “Dashboard”->”Settings”->”WP Code Highlight”
- Wrap code blocks with
<pre>and</pre>(It provides a code button in the HTML editor) - You don’t need to specify the language since WP Code Highlight will guess, all languages are supported
- It can also load
wp-code-highlight.cssfrom current wordpress theme directory
More Information
For more information of this plugin, please visit: Plugin Homepage.
Related Links: