SyntaxHighlighter Amplified

SyntaxHighlighter Amplified is a WordPress plugin based on the popular SyntaxHighligher Evolved by Alex Mills (Viper007Bond) that allows you to easily post syntax-highlighted code to your site without losing its formatting or making any manual changes.

It uses the highlight.php package by Geert Bergman to render code on the server-side so it has no dependencies on external JavaScript libraries thus is compatible with AMP pages.

The following languages are currently supported:

ActionScript
Arduino
BASH / Shell
C#
C / C++
Clojure
ColdFusion
CSS
Delphi / Pascal
diff / patch
Erlang
F#
Go
Groovy
Haskell
HTML / XHTML / XML / XSLT
Java
JavaFX
JavaScript
LaTeX (you can also render LaTeX)
MATLAB
Objective-C
Perl
PHP
Plain Text
PowerShell
Python
R
Ruby / Ruby on Rails
Scala
SQL
Swift
Visual Basic
YAML

To see it in action you can visit the following pages AMP pages of this site (just to mention a few):

Back to top button