=== Plugin Name === Contributors: Freelance Web Developer Donate link: Tags: TinyMCE, visual editor, syntax highlighting, code snippets Requires at least: 2.5 Tested up to: 2.6.6 Stable tag: 1.0 Visual Code Editor modifies WordPress's behavior so that code format is preserved when using the visual editor. It will work with any syntax highlighter that accepts encoded/escaped syntax. == Description == Visual Code Editor modifies WordPress's behavior so that code format is preserved when using the visual editor. It will work with any syntax highlighter that accepts encoded/escaped syntax. * Adds
& to block format menu
* Allows extra attributes for compatibility in some syntax highlighters (ie, )
* Unescape WP's double escaping of &
== Installation ==
1. Download and decompress the zip.
2. Upload the `visual-code-editor` folder to your `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress
== Frequently Asked Questions ==
None at this time.
== Usage ==
Assuming you are using the SyntaxHighlighter Plus plugin...
1. In visual mode, create a [sourcecode language="xxx"][/sourcecode] block
2. Paste in your code
3. Select the whole sourcecode block
4. Select Preformatted from TinyMCE's format menu
== Screenshots ==
1. Coupled with the SyntaxHighlighter Plus plugin, you get results like the above.
2. All you have to do is create a [sourcecode language="xxx"][/sourcecode] block, paste in your code, select the whole sourcecode block, then select Preformatted from Tiny's format menu. It should look like the above.