fonts-dependencies | R Documentation |
These functions provide common HTML dependencies for re-use by other R Markdown output formats or Shiny applications.
marianne_font_dep(use_gouvdown_fonts = TRUE)
spectral_font_dep(use_gouvdown_fonts = TRUE)
spectral_sc_font_dep(use_gouvdown_fonts = TRUE)
use_gouvdown_fonts |
Do you prefer using |
An object that can be included in a list of dependencies passed to attachDependencies.
https://www.gouvernement.fr/charte/charte-graphique-les-fondamentaux/la-typographie
library(htmltools)
library(gouvdown)
tag <- p("The quick brown fox jumps over the lazy dog",
style = "font-family: 'Marianne', Arial, sans-serif")
tag <- attachDependencies(tag, marianne_font_dep())
html_print(tag)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.