You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in each vignette of each package but it gets a bit cumbersome.
I would like to set it once and for all for all vignettes and all packages via the pkgdown template package we are using. There is a way to do this but it requires packages that define custom parameters to explicit get them from the theme:
I am using showtext for a ggplot2 theme for my organization. As a result, I would like showtext to always be enabled in vignettes in pkgdown websites.
I can specify:
in each vignette of each package but it gets a bit cumbersome.
I would like to set it once and for all for all vignettes and all packages via the pkgdown template package we are using. There is a way to do this but it requires packages that define custom parameters to explicit get them from the theme:
https://pkgdown.r-lib.org/reference/build_articles.html#figures
https://pkgdown.r-lib.org/reference/fig_settings.html
You can see for example how the rgl package is doing it:
https://github.com/dmurdoch/rgl/blob/0b13a6948314cdfa608a241d7b568585b3a05032/R/pkgdown.R#L46-L47
Is this something that could be implemented in showtext?
The text was updated successfully, but these errors were encountered: