=== WP SyntaxHighlighter === Contributors: redcocker Donate link: http://www.near-mint.com/blog/donate/ Tags: syntaxhighlighter, code, snippet, syntax, highlight, highlighting Requires at least: 3.0 Tested up to: 3.1.2 Stable tag: 1.1 This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382. == Description == This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382. = New Feature = * Ver. 1.1 provides "SH TinyMCE Button" for Visual Editor and helps you to type `
` tag in Visual Editor. * You can preview your current theme in setting panel. = Feature = * Based on "[SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/ "JavaScript library")" JavaScript library. * Including ver. 3.0.83 and 2.1.382 libraries. * Easy to configure through setting panel. * Support "[Dynamic Brush Loading](http://alexgorbatchev.com/SyntaxHighlighter/manual/api/autoloader.html "A key feature")" which allows to load only necessary brush files dynamically. * Loading JavaScripts on only Posts and Pages which have code to highlight. * Translated into English(Default) and Japanese(UTF-8). = Supported languages = AppleScript, ActionScript3, Bash, ColdFusion, C, C++, C#, CSS, Delphi, Diff, Erlang, Groovy, HTML, Java, Java FX, JavaScript, Pascal, Patch, Perl, PHP, Plain text, PowerShell, Python, Ruby, Ruby on Rails, Sass, SCSS, Shell, SQL, VB, VB NET, XHTML, XML and XSLT = Notes = In Ver. 1.1, "SH TinyMCE Button" was built into "WP SyntaxHighlighter". If you want, you can also use "[SyntaxHighlighter TinyMCE Button](http://wordpress.org/extend/plugins/syntaxhighlighter-tinymce-button/ "Recommended software")". However, I recommend "SH TinyMCE Button". If you have already used "SyntaxHighlighter TinyMCE Button", please disable or uninstall it. "SH TinyMCE Button" is more intelligent. It can refer to default values in setting panel and show you options according to default values. == Installation == 1. Upload plugin folder to the `/wp-content/plugins/` directory. 1. Activate the plugin through the 'Plugins' menu in WordPress. 1. If you need, go to Settings -> WP SyntaxHighlighter to configure. = Usage = Usage: With the "SH TinyMCE Button" This is easy and best way. No need to escape your codes to HTML entities in Visual Editor. 1. Create a new post or page in Visual Editor. 1. Write or insert your code in your post or page. 1. With the mouse, select and highlight your code where you want to aplly "SyntaxHighlighter". 1. Click "PRE" button, which you can find after the activation in setting panel. 1. Select language and options. 1. Click 'Insert'. Usage: Without the "SH TinyMCE Button" Just wrap Your Code in `` tag as below in HTML Editor or using the "Preformatted" style in Visual Editor. However, your codes **must be escape to HTML entities in HTML Editor**. `Your Code` *"lang" = your language * e.g. `Your PHP Code` * e.g. `Your XHTML Code` See "[Available languages](http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/ "Brushes")". *"Brush aliases" means "lang". You can also use some options with `` tag. See "[Options](http://alexgorbatchev.com/SyntaxHighlighter/manual/configuration/ "Class value")". * e.g. `Your Code` * e.g. `Your Code` = Legacy mode = You can switch to 'Legacy mode' through setting panel. 'Legacy mode' allows you to use old way in ver. 1.5. See "[Ver. 1.5 Usage](http://code.google.com/p/syntaxhighlighter/wiki/Usage "Old style tag")". In 'Legacy mode', available languages are limited. See "[Ver. 1.5 languages](http://code.google.com/p/syntaxhighlighter/wiki/Languages "supported languages for ver. 1.5")". == Screenshots == 1. This is a highlighted code. 2. This is setting panel. 3. This is "SH TinyMCE" button. 4. This is pop up window at the click of "SH TinyMCE" button. == Changelog == = 1.1 = * Adding the button to type `` tag in Visual Editor. * You can preview your current theme in setting panel. * Fix a bug: Setting values in databese can't be removed when uninstall. = 1.0.1 = * Fix a warning in setting panel. == Upgrade Notice == = 1.1 = This version has some new features and a bug fix. = 1.0.1 = This version fixes a warning in setting panel.