I am very new to the R Notebook universe and have been blown away by the ease and efficiency of the R Notebook --> knitr --> HTML workflow. I have mainly been using the rmdformts and Tufte templates.
My institution has recently implemented something called Content Security Policy (CSP, e.g. see here ) on its servers. Now all the beautiful 'knitr(ed)'' web pages are displayed without CSS and Javascript.
Can someone please advise how to incorporate the correct CSP into the R-Notebook so that knitr includes it under the HTML meta tag?
Many thanks!
One way that may work is to include
self_contained: false
in the YAML header of the rmarkdown document.