Skip to content

gadenbuie/xaringan-logo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add a logo to all your xaringan slides

You can use this repository as a template to create your xaringan project, or follow the instructions below.

Demo

Manual Set Up

  1. Download your logo. I've used the xaringan hex logo: xaringan.png

  2. Download insert-logo.html

  3. Add insert-logo.html to your after_body includes

output:
xaringan::moon_reader:
  includes:
    after_body: insert-logo.html
  1. 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*.

  2. Use class: hide-logo to hide your logo on individual slides.

More Info

See the companion blog post for more information: https://www.garrickadenbuie.com/blog/xaringan-tip-logo-all-slides/

Releases

No releases published

Packages

No packages published