Code
cat(data_home_sidebar_authors(pkg))
Output
<div class='developers'>
<h2 data-toc-skip>Developers</h2>
<ul class='list-unstyled'>
<li>yay</li>
<li>Hadley Wickham <br />
<small class = 'roles'> Author, maintainer </small> </li>
<li>RStudio <br />
<small class = 'roles'> Copyright holder, funder </small> </li>
<li>cool</li>
<li><a href='authors.html'>More about authors...</a></li>
</ul>
</div>
Code
role_lookup("unknown")
Condition
Warning:
Unknown MARC role abbreviation: unknown
Output
[1] "unknown"
[[1]]
[[1]]$html
[1] "<p>A & B (2021): Proof of b < a > c.</p>"
[[1]]$bibtex
[1] "@Misc{,\n title = {Proof of b < a > c},\n author = {{A} and {B}},\n year = {2021},\n}"
[[2]]
[[2]]$html
[1] "<p>Two A (2022).\n“Title Two.” \n</p>"
[[2]]$bibtex
[1] "@Misc{,\n title = {Title Two},\n author = {Author Two},\n year = {2022},\n}"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.