I am trying to get an Altmetric badge to show in an html Markdown/Bookdown document with no luck. I am using the "default" badge that appears here: https://www.altmetric.com/products/altmetric-badges/
See a minimal version of the code below:
---
header-includes: null
output:
html_document:
df_print: paged
---
# Altmetric badge
<div data-badge-popover="right" data-badge-type="medium-donut" data-doi="10.1038/nature.2014.14583" data-hide-no-mentions="true" class="altmetric-embed"></div>
Any help would be greatly appreciated.