WordPress DIY: Adding syntax highlighting to your WordPress blog without using an external plugin

from blog Prahlad Yeri, | ↗ original
Just as my other articles in WordPress DIY series, this one also focuses on doing everything yourself by writing the code rather than using any external dependencies. There are two popular open source implementations of Syntax Highlighting JavaScript libraries: Google’s Prettify and Alex Gorbatchev’s Syntax Highlighter, and in this article, we...