xaringan template with logo on all slides
You can use this repository as a template to create your xaringan project, or follow the instructions below.
Download your logo. I’ve used the xaringan
hex logo: xaringan.png
Download insert-logo.html
Add insert-logo.html
to your after_body
includes
output:
xaringan:
includes:
after_body: insert-logo.html
Edit the .logo
class in the CSS in insert-logo.html
to use your logo,
and adjust the width
, height
and position (top
, bottom
, left
, and/or right
) as needed*.
Use class: hide-logo
to hide your logo on individual slides.
See the companion blog post for more information: https://www.garrickadenbuie.com/blog/xaringan-tip-logo-all-slides/