Print code with syntax highlighting
Arguments
- x
The object to print
- ...
Unused
- colored
Whether to apply syntax highlighting. Set to
FALSE
, or useoptions(constructive_pretty = FALSE)
to turn off highlighting.- code_theme
Syntax highlighting theme passed to
cli::code_highlight()
. Settingcode_theme = list()
will remove all syntax highlighting, but hyperlinks will remain if supported.- style
Deprecated in favour of
code_theme