WordPress Plugin: Crayon Syntax Highlighter

I often post snippets of code or configuration files here. By default, WordPress doesn’t really have a built-in way of displaying these fragments in an easy to read format.  I’ve tried several plugins to highlight syntax, but they either did strange things with the formatting or didn’t work as I expected.

I finally found one that does the job effortlessly: Crayon Syntax Highlighter.

Here are some examples:

Crayon supports just about every language, includes a custom theme editor so that you can make your snippets appear exactly the way you want to, and can even convert existing code that is wrapped in <pre> tags. As with all WordPress plugins that are free, click the donate button if this solves a need you have!

Leave a Reply

Your email address will not be published. Required fields are marked *