WP-Syntax Code Highlighter Plugin

As a blog by and for web developers, many of the articles on DevSpot tackle some problem with HTML, JavaScript, or another markup/programming language. That means we frequently need to embed code snippets into our WordPress posts to help explain a solution. To make them easy to understand, code samples should be color coded and include line numbers for reference.

For WordPress blogs, that’s where the plugin WP-Syntax comes in. There are several to choose from (including the more powerful SyntaxHighlighter), but WP-Syntax the right combination of features and usability that we needed. It converts blocks of text wrapped with pre tags and a lang attribute into syntax-highlighted code. Continue reading “WP-Syntax Code Highlighter Plugin”