=== SyntaxHighlighter Evolved === Contributors: Viper007Bond Donate link: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/ Tags: code, sourcecode, php, xhtml, html, css Requires at least: 2.7 Tested up to: 2.8 Stable tag: trunk Easily post syntax-highlighted code to your site without having to modify the code at all. == Description == SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without loosing it's formatting or making any manual changes. It uses the [SyntaxHighlighter JavaScript package by Alex Gorbatchev](http://alexgorbatchev.com/wiki/SyntaxHighlighter) and a bit of code by [Andrew Ozz of Automattic](http://wordpress.com/). For a list of supported languages (all widely used languages are supported), please [click here](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes). **SyntaxHighlighter "Evolved"? Why Evolved?** Starting with v2.0.0, this plugin was renamed from "SyntaxHighlighter" to "SyntaxHighlighter Evolved". This was done to better stand out against the many very poorly named [forks](http://en.wikipedia.org/wiki/Fork_%28software_development%29) of v1.x of this plugin. I am not an author of any of those plugins, they just used my old code as a base for their version. Although I am of course biased, I'd argue this plugin is the best of all of them. == Installation == ###Updgrading From A Previous Version### 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. ###Uploading The Plugin### Extract all files from the ZIP file, **making sure to keep the file/folder structure intact**, and then upload it to `/wp-content/plugins/`. **See Also:** ["Installing Plugins" article on the WP Codex](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins) ###Plugin Activation### Go to the admin area of your WordPress install and click on the "Plugins" menu. Click on "Activate" for the "SyntaxHighlighter" plugin. ###Plugin Usage### 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](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes). 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. == Frequently Asked Questions == = The code boxes seem to be missing their styling. What's wrong? = Make sure your theme's `header.php` file has `` somewhere inside of the `
`, otherwise the CSS files won't be loaded. = The code is just being displayed raw. It isn't being converted into a code box or anything. What's wrong? = Make sure your theme's `footer.php` file has `` somewhere inside of it, otherwise the Javascript files won't be loaded. == Screenshots == 1. Example code display of some PHP inside some HTML. 2. A part of the Settings page which controls the defaults. == ChangeLog == **Version 2.2.2** * Updated TinyMCE plugin thanks to Andrew Ozz. This fixes the unresponsive script errors and has various other improvements. * Chinese translation thanks to Hinker Liu. **Version 2.2.1** * Italian transation thanks to [gidibao](http://gidibao.net/index.php/2009/07/22/syntaxhighlighter-evolved-in-italiano/). **Version 2.2.0** * Stop whitespace from being stripped when switching editor views. Props [Abel Braaksma](http://www.undermyhat.org/blog/2009/07/fix-for-leading-whitespace-bug-in-syntaxhighlighter-evolved-for-wordpress/). * Fixed an issue with SyntaxHighlighter itself in which the Bash highlighter had issues with `<` and `>`. * Force a specific font size for the code so themes don't mess with it. * Allow the usage of custom aliases that aren't allowed by the highlighting package. Props [Anton Shevchuk](http://anton.shevchuk.name/). * Danish translation thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/2009/05/07/syntaks-farvning-%E2%80%93-syntax-highlighting/). * Turkish translation thanks to [Alper](http://turkcekaynak.net/). **Version 2.1.0** * Updated to reflect the new features of [v2.0.320 of Alex's script](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Changes:2.0.320). Note the `stripBrs` parameter is not supported in my plugin as it is not needed in this implementation. **Version 2.0.1** * Andrew Ozz was kind enough to fix a bug related to ``'s being stripped when switching from the Visual to HTML tab * Added a link to the settings page to the plugins page in the admin area **Version 2.0.0** * Complete recode from scratch. Features v2 of Alex Gorbatchev's script, usage of shortcodes, and so much more. **Version 1.1.1** * Encode single quotes so `wptexturize()` doesn't transform them into fancy quotes and screw up code. **Version 1.1.0** * mdawaffe [fixed](http://dev.wp-plugins.org/ticket/703) an encoding issue relating to kses and users without the `unfiltered_html` capability. Mad props to mdawaffe. **Version 1.0.1** * Minor CSS fixes. * Filter text widgets to allow posting of code. **Version 1.0.0** * Initial release!