University of Oregon

UO Blogs: SyntaxHighlighter Evolved Plugin

The SyntaxHighlighter plugin allows you to post syntax-highlighted code on your site without losing formatting or making manual changes.

To change the settings for this plugin, go to Settings > SyntaxHighlighter.

To post syntax-highlighted code on your page, wrap the code in [code language="Type of code here"]your code here[/code]
 
Go to https://en.support.wordpress.com/code/posting-source-code/ to see what languages are supported.

For more information and an example, see http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/.