Closed giabaio closed 3 years ago
Thanks, the issue was to do with the sizing of the icons. I've rewritten download_academicons()
to use the svgs directly instead of the font file (which wasn't available when I first wrote the function).
This should work well now.
Brilliant --- it does work now. Thanks!
Since the recent update, I seem to have an issue with academicons icons, which basically do not render. I'm using
icon
in conjunction withxaringan
--- the previous syntaxwould work perfectly. But when I use the new syntax, nothing really shows up... The code works for
fontawesome
icons, so for instance, something likeadds the
R
logo. But noacademicons
icon is rendered.Just for completeness, I've also tested this here. If I add to the original
html
code the element(which is the output of
icon::fontawesome("r-project")
), then theR
logo is rendered.But if I add to the
html
code(the output of
icon::academicons("pubmed")
), nothing shows up.I notice that the two output differ because the one produced from
academicons
misses thebit --- could this be the problem? (I don't know much about how
svg
are created/coded up, so this may be totally irrelevant...).Apologies if I'm missing something obvious & thanks for your help! Gianluca