Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.
Extract all files from the ZIP file, making sure to keep the file/folder structure intact, and then upload it to
Go to the admin area of your WordPress install and click on the "Plugins" menu. Click on "Activate" for the "SyntaxHighlighter" plugin.
Just wrap your code in
[language], such as
[php]code here[/php] or
[css]code here[/css]. For a list of supported languages (all widely used languages are supported), please click here.
You do not need to escape HTML entities or anything, just post your code as-is. The plugin will handle the rest.
The shortcodes accept a wide variety of parameters. For details, see the bottom of the plugin's settings page.
Requires: 4.2.3 or higher
Compatible up to: 4.5.3
Last Updated: 6 months ago
Active Installs: 50,000+
1 of 5 support threads in the last two months have been marked resolved.
Got something to say? Need help?