By default Jekyll have 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 website which are hosted on Github Pages add the following line:
markdown: kramdown
kramdown:
   syntax_highlighter_opts:
      disable : true