View source: R/classic_style.R
classic_style | R Documentation |
This function facilitates construction of a complete style set based on the
classic look of an HTML rendered markdown document. It contains style
specifications for all the supported markdown elements as well as a sub
and
sup
style that can be used for subscripts and superscript respectively.
These are only accessible through custom spans (e.g. H{.sub 2}O
) as
markdown doesn't provide a syntax for these formats.
classic_style(
base_size = 12,
body_font = "",
header_font = "",
code_font = "mono",
...
)
base_size |
The base font size for the text. All other sizing is based on this |
body_font |
The font family to use for body text |
header_font |
The font family to use for headers |
code_font |
The font family to use for code and code block text |
... |
Arguments passed on to
|
A style set object
classic_style(16, "serif", "sans")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.