Disable syntax highlighting in Bookdown

Viewed 144

How do I disable syntax highlighting all together? The built-in highlighting through Pandoc is of no use to me and I'd like to use either highlight.js or a different highlighter for my Gitbook output.

I've tried adding pandoc_args: --no-highlight to _output.yml. I can see that that option does indeed get passed to Pandoc, but it doesn't do anything. I still get (poor) highlighting.

All I want from my fenced blocks is tags, nothing more.

1 Answers
Related