Disable Jekyll’s default syntax highlighter Rouge

Ronalds Vilcins
Oct 9 · 1 min read
Photo by Markus Spiske on Unsplash

By default, Jekyll has Rouge syntax highlighter. In some cases, you may want to disable it. To get Rouge disabled in Jekyll, just do the following.

  • Open the _config.yml file located at the root directory.
  • Add the following line:
highlighter: none
  • To disable Rouge on the website which is hosted on Github Pages add the following line:
markdown: kramdown
disable : true
Ronalds Vilcins

Written by

I drink a lot of tea and build beautiful websites. If you are looking to work together or just start a conversation 👉 https://www.ronaldsvilcins.com/

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade