Edit tango highlight

To pass a argument to --highlight-style pandoc args, you can just provide it in the yaml header

---
output:
  html_document:
    highlight: my.theme
---

rmarkdown pandoc_html_highlight_args knows how to deal with that. It will pass --highlight-style = my.theme to pandoc.

1 Like