Skip to contents

Languages that can follow an opening code fence in markdown_box_grob(), including those added with register_highlighter(). Aliases such as py, sh, c++, yml, jl and tex also work. Other languages are shown as plain code.

Usage

available_highlighters()

Value

A sorted character vector.

Examples

available_highlighters()
#>  [1] "bash"   "cpp"    "json"   "julia"  "latex"  "python" "r"      "sql"   
#>  [9] "stan"   "yaml"