Tag: Editor


Posting code in my land

March 20th, 2009 — 1:39pm

Some days ago I was in trouble when trying to insert code into a post, things were working bad in WordPress’s rich editor, ampersand was making me crazy and I had to look for new plugins to face the problem.

The solution:

Two plugins working together are making my code posting a relaxed experience:

Visual Code Editor:  Makes it possible (and trouble free) to post and edit code snippets in wordpress’s visual editor. Requires WordPress 2.5 – 2.7. * Adds <pre> & <code> to block format menu. * Allows extra attributes for compatibility in some syntax highlighters (ie, <pre lang=”php” line=’5′>). * Allows iFrames. * Unescape WP’s double escaping of &amp;. * Removes extra <pre> tags around SyntaxHighllighter Plus’s blocks. * Works in comments. By Jules Gravinese.

SyntaxHighlighter:  An advanced upload-and-activate WordPress implementation of Alex Gorbatchev’s SyntaxHighlighter JavaScript code highlighting package. See WordPress.com’s “How do I post source code?” for details. By MattViper007Bond, and mdawaffe.

That is.

Comment » | Wordpress

Back to top