如何一起禁用语法高亮显示?通过 Pandoc 的内置突出显示对我没有用,我想为我的 Gitbook 输出使用 highlight.js 或不同的荧光笔。
我尝试将 pandoc_args: --no-highlight
添加到 _output.yml
。我可以看到该选项确实传递给了 Pandoc,但它什么也没做。我仍然(差)突出显示。
我想从我的围栏 block 中得到的只是标签,仅此而已。
最佳答案
根据 https://bookdown.org/yihui/rmarkdown/html-document.html#appearance-and-style ,尝试在 YAML header 中设置 highlight: null
?
output:
html_document:
highlight: null
关于r - 在 Bookdown 中禁用语法高亮显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64637151/