Create pygmentr highlight header for LaTeX or HTML
1 | get_header(formatter = c("latex", "html"))
|
formatter |
Pygments formatter to use; either "latex" or "html". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.