Highlite provides an R extension of Andre Simon's C++ library highlight (http://www.andre-simon.de/doku/highlight/en/highlight.php). It provides syntax highlighting without the need to compile and install a separate executable and includes support for over 200 languages, 80 themes and 10 output formats, including ANSI Escape Codes, HTML, LaTeX and SVG.
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.