• January 10, 2019
  • By skillslane
  • 1

How to Setup Syntax Highlighter For WordPress

If you are tech blogger, syntax highlighter is a must have for your WordPress blog.

The best way to have syntax highlighter for your WordPress blog is using a plugin.  There are frameworks like prismjs which you can use for highlighting code. You can follow this tutorial for that. However, you need to have a good understanding of WordPress backend framework to incorporate prismjs in your blog.

Setup Syntax Highlighter For WordPress

As we mentioned earlier the best way to setup syntax highlighter is using a plugin.

  1. Go to plugins in WordPress and search for Crayon Syntax Highlighter
  2. Install the plugin and activate it.
  3. You can further customize the look and feel of code highlighter using the plugin settings.

Once installed, you will get an option <> in your post editor. You can add your code to that block as shown below.


The new economy needs a new approach to education. Education is no longer a one-time investment at the beginning of one's career, it's a lifelong pursuit. We're building an educational experience that empowers our readers to thrive in this new world order.

1 Comment

chris jones

6 months ago

like this....keep posting such informative articles

Leave Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get All Udemy Course for $9.99 Redeem Offer
Get All Udemy Course for $9.99 Redeem Offer