Helper function for printing ANSI in Rmarkdown output. Use this at the start of your Rmarkdown files to include colors in the printed object names in the final compiled output.
Value
A string with HTML reformatted to ensure colors appear in printed code blocks in rmarkdown output.
Examples
knitr::knit_hooks$set(output = ansi_aware_handler)
options(crayon.enabled = TRUE)