Wp-Syntax Hacktify

Plugin Banner

Wp-Syntax Hacktify

by n8v

Download
Description

A plugin allowing you to change the WP-Syntax code highlighting color scheme elegantly.

WP-Syntax rawks for writing about geeky stuff, but I want it more blacker. And I want a CSS file to hack instead of those icky and inefficient inline styles.

I got the basic idea from WP-Syntax-Colorizer but went further with an external CSS file.

Prerequisite

  1. Install WP-Syntax.

Installification

  1. Either

    1. Unpack the zip file and upload the files to wp-content/plugins/wp-syntax-hacktify,

      or my favorite,

    2. Check it out fresh with Subversion:
             cd wp-content/plugins
             svn co http://svn.wp-plugins.org/wp-syntax-hacktify/trunk wp-syntax-hacktify
  1. Activate the plugin through the ‘Plugins’ menu in WordPress.
  2. Enjoy my colors, or override them yourself by making a file named uglier_syntax_styles.css in your plugins directory (wp-content/plugins)! Use wp-content/plugins/wp-syntax-hacktify/hacktified.css as an example.
  1. New colors for <code>diff</code> output

    New colors for diff output

  2. Some PHP with my new colors

    Some PHP with my new colors

  3. Some HTML with my new colors

    Some HTML with my new colors

WTF?

Everything in the WP-Syntax documentation still applies.

If you’re confused by the CSS styles, look at the GeSHi documentation, and the language-specific files in wp-content/plugins/wp-syntax/geshi/geshi.

Back to top