Disable Jekyll’s default syntax highlighter Rouge
1 min readOct 9, 2019
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