Disable Jekyll's default syntax highlighter Rouge
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
This site is ad-free and doesn’t use trackers. If you’d like to support my writing, I’d love if you could buy me a coffee.