pandoc_list_highlight_languages {pandoc} | R Documentation |
List supported languages for Pandoc syntax highlighting
Description
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.
Usage
pandoc_list_highlight_languages(version = "default")
Arguments
version |
Version to use. Default will be the
|
Value
a character vector of supported languages to use as fenced code attributes.
Examples
pandoc_list_highlight_languages()
# check languages available in a specific Pandoc's version
pandoc_list_highlight_languages("2.11.4")
[Package pandoc version 0.2.0 Index]