WordPress.org

Plugin Directory

iG:Syntax Hiliter

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

iG:Syntax Hiliter

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

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

  1. Login to your WordPress wp-admin area.
  2. Click Add New in the Plugins menu on left.
  3. Enter iG:Syntax Hiliter in the search bar on the right on the page that opens and press Enter key.
  4. WordPress would show the iG:Syntax Hiliter plugin with install button, click that to install the plugin.
  5. Click on Activate Plugin link on the page that opens after the plugin has been installed successfully.

See Also: “Installing Plugins” article on the WP Codex

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.

Contributors

Translate “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.

Changelog

v5.1

v5.0

v4.3

v4.2

v4.1

v4.0

v3.5

v3.1

v3.0

  • Complete re-write of the plugin resulting in reduction of code from 750+ lines to about 400 Lines.
  • New GeSHi Core(v1.0.7) which has some bug-fixes, please see GeSHi Website for its changelog.
  • New languages added are C#, Delphi, Smarty & VB.NET.
  • ASP language file structure updated & more keywords added.
  • Drag-n-Drop usage of new languages. The plugin now supports all languages that GeSHi(v1.0.7) supports. You just need to drop the language file in the “geshi” directory & use the filename as the tag for the language(like if file is “pascal.php”, then the filename is “pascal” & the tags will be
     & 

    ).

  • Language name which is displayed in the Code-Box can now be turned ON or OFF easily.
  • No more need to set the physical-path to the “geshi” directory if you are doing a default installation.
  • Plain-Text View of the code hilited in the code-box is now possible. This feature can be enabled/disabled easily in the Configuration Interface in WordPress Administration.
  • NO NEED TO EDIT THE PLUGIN FILE ANYMORE. You can now configure the plugin settings from a GUI located under the OPTIONS menu in your WordPress Administration(WordPress 1.5 & above only).
  • v2.01

    v2.0 Final

    v2.0 Preview

    v1.1

    v1.0

    Meta

    Ratings

    5 out of 5 stars.

    Contributors

    Support

    Got something to say? Need help?

    View support forum