GeSHi Source Colorer

The plugin can colorize any source in a post or page. Layout and tag names can be set dynamically, so a migration of other plugins is possible

Author:flashpixx (profile at wordpress.org)
WordPress version required:3.2
WordPress version tested:3.4.2
Plugin version:0.13
Added to WordPress repository:07-09-2012
Last updated:09-11-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://wordpress.org/extend/plugins/geshi-sou...
Total downloads:2 423
plugin download
Click to start download

The plugin creates a colorized view of source code. It uses GeSHi for creating the layout information and allows an individual configuration of the tag values, so that a migration of anonther code syntax highlighter plugin is possible, without changing the article data. Additional options are like enabling / disabling line numbers, copy to clipboard and open code in a blank window can be used by a hover toolbar. The code blocks on a post / page can be collected to a "list of listings" automatically or collected in a tab view, each code block can get its own layout style and each code boxes can be collapsed / expanded. On a code box different lines can be static highlighted or the highlighting can be added dynamically on hovering a individual DOM element. You can define a own JavaScript or CSS file in your theme, so that you can handle different layouts / actions on your themes. Own styles for different codes can be created and exported / imported into the plugin.

Features

  • free definition of the tags / shortcuts
  • free code style definition on the given language
  • multi- or singleline code block on one page with individual configuration
  • global CSS style definition (code block and toolbar)
  • theme based individual CSS and JavaScript files
  • static & dynamic highlighting (hover effect on every DOM with jQuery possible)
  • table of listing on each page with anchor elements
  • individual configuration on the code block hover toolbar with enabling / disabling line numbers, open code in a blank window, copy code to clipboard, collapsed view etc.
  • collapsed view of the code with jQuery expand / collapsed action
  • keyword references to the language definition
  • individual code tab size
  • export / import function with dynamic style renaming (over different plugin versions)
  • tab view / browsing of code blocks (different code blocks can be collected in one global container and each code will be referenced by a individual tab)
  • automatic choice of the codestyle on the language name
  • individual language definitions with GeSHi
  • individual access with JavaScript and jQuery to the code blocks
  • live preview of style definition