| hi_andre | R Documentation | 
This function calls Highlight to syntax highlight a code fragment.
hi_andre(code, language, format = "html")
| code | a character string of the source code | 
| language | the input language (c, cpp, python, r, ...); see
 | 
| format | the output format (html, latex, ...) | 
A character string for the syntax highlighted code.
Andre Simon's Highlight package https://gitlab.com/saalen/highlight.
## Not run: 
hi_andre("1+1", language = "R")
hi_andre("void main() {\nreturn(0)\n}", language = "c", format = "latex")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.