This function is a simple wrapper of
with different default arguments, and more importantly, a special HTML
template designed only for blogdown to render R Markdown to HTML pages
that can be processed by Hugo.
1 2 3 4 5 6 7 8 9 10 11
Arguments passed to
The HTML output is not a complete HTML document, and only meaningful to blogdown (it will be post-processed to render valid HTML pages). The only purpose of this output format is for users to change options in YAML.
The fact that it is based on bookdown means most bookdown features are supported, such as numbering and cross-referencing figures/tables.
Do not use a custom template unless you understand how the default template actually works (see the blogdown book).
highlight does not support the value
and the argument
template does not support the value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.