List supported styles for Pandoc syntax highlighting
Source:R/pandoc-list.R
pandoc_list_highlight_style.RdPandoc includes a highlighter which offer a styling mechanism to specify the
coloring style to be used in highlighted source code. This function returns
the supported values which can be specify at pandoc command line using the
--highlight-style= flag.
Examples
pandoc_list_highlight_style()
#> [1] "pygments" "tango" "espresso" "zenburn" "kate"
#> [6] "monochrome" "breezedark" "haddock"
# check style available in a specific Pandoc's version
pandoc_list_highlight_style("2.11.4")
#> [1] "pygments" "tango" "espresso" "zenburn" "kate"
#> [6] "monochrome" "breezedark" "haddock"