Description
iG:Syntax Hiliter allows you to post source code to your site with syntax highlighting and formatting (as seen in code editors, IDEs). You can paste the code as is from your code editor or IDE and this plugin will take care of all the code colouring and preserve your formatting. It uses the GeSHi library to colourize your code and supports over a 100 programming languages. Most common languages are included with the plugin and it includes drop in support for more languages used by GeSHi.
NOTE : For fast results and less load on your server, you should have a cache plugin installed. That way the plugin won’t have to parse the code blocks on a post every time its loaded in browser.
Minimum Requirements
- WordPress 4.1 or above
- PHP 7.4.0 or above
Pull requests are welcome on Github.
Github: https://github.com/coolamit/ig-syntax-hiliter/
Documentation on plugin usage and configuration
Screenshots



Installation
UPGRADING from v4.0 or later
Just click update now link below the plugin listing on the plugins page in your wp-admin. That’s quite easy!!
UPGRADING from v3.x
Just deactivate plugin in WordPress admin, delete the syntax_hilite.php file & ig_syntax_hilite directory from plugins folder and follow the installation process below. That’s quite easy!!
UPGRADING from v2.1 or lower
Just deactivate plugin in WordPress admin, delete the syntax_hilite.php and geshi.php files & geshi directory from plugins folder and follow the installation process below. That’s quite easy!!
Installing The Plugin
- Login to your WordPress
wp-adminarea. - Click
Add Newin thePluginsmenu on left. - Enter
iG:Syntax Hiliterin the search bar on the right on the page that opens and press Enter key. - WordPress would show the iG:Syntax Hiliter plugin with install button, click that to install the plugin.
- Click on
Activate Pluginlink on the page that opens after the plugin has been installed successfully.
FAQ
-
My code looks all odd, characters appear as HTML entities. Why is your plugin screwing up my code?
-
If you are using the WYSIWYG (rich text) editor to compose your post then that is what’s messing things up for you. iG:Syntax Hiliter does not support composing posts and posting code using WYSIWYG at present. If you are not using WYSIWYG editor and still have same issue, please report it.
-
I see some code that I can improve. Do you accept pull requests?
-
By all means, feel free to submit a pull request.
-
I want XYZ feature. Can you implement it?
-
Please feel free to suggest a new feature. Its inclusion might be speedier if you can provide the code to make it work.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“iG:Syntax Hiliter” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “iG:Syntax Hiliter” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
