How to automatically highlight syntax of code in a post?
Question
I post my codes from different programing languages. Now, I want to highlight syntax of codes with different colors. But, doing it manually is time consuming. Is there any plugin or method which could do this automatically? Strictly, it should be done in CSS way.
Solution
There's a whole bunch of plugins that do that. After some reading i decided to go with Syntax Highlighter Evolved.
OTHER TIPS
There are many plugins for that mostly based on shortcodes i use either
- Google Syntax Highlighter for WordPress http://wordpress.org/extend/plugins/google-syntax-highlighter/
- SyntaxHighlighter Evolved http://wordpress.org/extend/plugins/syntaxhighlighter/
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange