diff options
-rw-r--r-- | exampleSite/layouts/partials/foot_custom.html | 8 | ||||
-rw-r--r-- | exampleSite/layouts/partials/head_custom.html | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index 4f9aaa2..001ee4d 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -2,3 +2,11 @@ <script defer src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script> <script defer src="//yihui.org/js/center-img.js"></script> + +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script> +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/languages/r.min.js"></script> + +<script> +hljs.configure({languages: []}); +hljs.initHighlightingOnLoad(); +</script> diff --git a/exampleSite/layouts/partials/head_custom.html b/exampleSite/layouts/partials/head_custom.html new file mode 100644 index 0000000..871525c --- /dev/null +++ b/exampleSite/layouts/partials/head_custom.html @@ -0,0 +1 @@ +<link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/github.min.css" rel="stylesheet"> |