pandoc_list_highlight_languages | R Documentation |
This function is useful to retrieve the supported languages by Pandoc's
syntax highlighter. These are the values that can be used as fenced code
attributes to trigger the highlighting of the block for the requested
language. See fenced_code_attributes
extensions flag.
pandoc_list_highlight_languages(version = "default")
version |
Version to use. Default will be the
|
a character vector of supported languages to use as fenced code attributes.
pandoc_list_highlight_languages()
# check languages available in a specific Pandoc's version
pandoc_list_highlight_languages("2.11.4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.