Escapes all backslashes correctly.
This code was directly copy pasted from m-dz in a StackOverflow tutorial: https://stackoverflow.com/questions/42309568/rstudio-addin-to-parse-input-string-literals-by-changing-backslashes-as-in-c
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.