Disable Jekyll’s default syntax highlighter Rouge

Ronalds Vilcins
1 min readOct 9, 2019
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
kramdown:
syntax_highlighter_opts:
disable : true

--

--

Ronalds Vilcins

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/