Adding Disqus to distill blogs

tutorial discus

Notes on adding comments to distill pages.

Zoë Turner
2021-11-12

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.

Photo of frost on wood

Figure 1: Photo of frost on wood

Inspiration

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.

Issues with images

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.

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/jhelvy/distillery, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Turner (2021, Nov. 12). The Distillery: Adding Disqus to distill blogs. Retrieved from https://distillery.rbind.io/posts/2021-11-12-adding-disqus-to-distill-blogs/

BibTeX citation

@misc{turner2021adding,
  author = {Turner, Zoë},
  title = {The Distillery: Adding Disqus to distill blogs},
  url = {https://distillery.rbind.io/posts/2021-11-12-adding-disqus-to-distill-blogs/},
  year = {2021}
}