The main reason for the development of this plugin was the lack of options supporting the HTML5 recommendation, where the code snippets should be tagged with pre
followed by code
, and optionally a class starting with language-
and then our language.
You can use the plugin like this:
<pre class="prettyprint"><code class="language-php">
// my code
</code></pre>
Also very important is that although this plugin loads different files depending on your configuration, it fully supports caching scripts (W3 Total Cache) to concatenate and compress all the css and js, so the impact in performance will be minimum.
Javascript Syntax Highlighter
This plugin eases the use of Alex Gorbatchev's SyntaxHighlighter, a lightweight javascript based code snippet highlighter within WordPress.
Supports a wide range of languages currently including:= Feature summary =
100% client side, no server dependency
Multiple languages support
Wide browser sup.........
Code Prettify
Uses the Google Code Prettify library
that is minified and properly enqueued. Plugin applies code highlighting
automatically to all <pre> and <code> tags on the page....
The Ultimate Syntax Highlighter
This plugin allows for easy addition of highlighted code with the [code lang=""] tag supporting over 10 languages...
SyntaxHighlighter Evolved: Fortran
SyntaxHighlighter Evolved: Fortran is a plugin for self-hosted WordPress installations that adds support to Alex Mills' (Viper007) SyntaxHighlighter Evolved plugin for the Fortran language.
It provides a brush designed to work with the SyntaxHighlighter Evolved WordPress plugin. To be able to use t.........
Pygments for WordPress
This WordPress plugin is a syntax highlighter for many different computer languages, including HTML, Python, PHP, Javascript, CSS, and many others. It uses the Pygments syntax highlighter from Python.
See http://derek.simkowiak.net/pygments-for-wordpress/ for full documentation....
WP Code Prettify
This plugin enable syntax highlighting of code snippets in your post using Google Code Prettify....
Code Block Enabler
A filter that displays blocks nicely while still allowing formatting and also colorizes the output using Google Prettify...
Prism Syntax Highlighter for WordPress
Despite two plugins already on wordpress.org I decided to write my own from scratch. The result is a minimalistic but powerful plugin with only ~250 lines of PHP.
Supports every possible Prism configuration.
Does not load prism on every page, only when needed.
Supports automatic detection of prism.........
SyntaxHighlighter Plus
SyntaxHighlighter Plus is a WordPress plugin for code syntax highlighting. It is an enhanced version of the original SyntaxHighlighter by Matt, Viper007Bond and mdawaffe. Please give them a big applause for making such a great plugin!
SyntaxHighlighter allows you to easily post syntax highlighted c.........
Wp-Syntax Hacktify
A plugin allowing you to change the WP-Syntax code highlighting color scheme elegantly.
WP-Syntax rawks for writing about geeky stuff, but I want it more blacker. And I want a CSS file to hack instead of those icky and inefficient inline styles.
I got the basic idea from WP-Syntax-Colorizer but w.........