Note: This post was originally written by Zoƫ Turner and copied here on December 21, 2021 - see the original post here for a potentially updated version.
knitr::opts_chunk$set(echo = FALSE)
knitr::include_graphics("img/frost-on-wood.PNG")
When searching for "distill blog doesn't show xaringan slides" I stumbled across this blog by Shamindra Shrotriya where I found that it's possible to add comments to the distill pages.
I've never used Disqus before but I followed Shamindra's blog instructions and it worked. The only thing to note is that images must be in PNG format. Thankfully I'd only included a few so I could convert them by opening them in Microsoft Paint and saving them as .PNG.
I saved as .PNG rather than .png as @tomjemmett had had to set my files to this in the NHS-R Community GitHub to get the xaringan slides there to render. I thought it best to follow this as good practice.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.