Example: Twitter cards for Rmd documents

This vignette creates a html page containing twitter meta tags. The page is hosted at

https://www.jumpingrivers.com/rpackages/headr/vignettes/twitter_large.html

To preview the twitter card for this document, copy and paste the page URL into the twitter card validator.

Example: Open graph

This vignette creates a html page containing open graph meta tags. The page is hosted at

https://www.jumpingrivers.com/rpackages/headr/vignettes/open_graph.html

Example: Twitter cards for Rmd documents

It doesn't matter if the Rmd document is a set of slides - it's still the same process.

https://www.jumpingrivers.com/rpackages/headr/vignettes/twitter_slides.html

To preview the twitter card for this document, copy and paste the page URL into the twitter card validator.


Development of this package was supported by Jumping Rivers

fnames = list.files("vignettes", pattern = "*.Rmd$", full.names = TRUE)
sapply(fnames, rmarkdown::render)


jumpingrivers/headR documentation built on May 7, 2022, 2:22 a.m.