Description Usage Arguments Details Features See Also
Upgrades vignettes to muggle default.
Wraps local_muggle_file()
to delete file upon use.
1 | local_siteyaml(.local_envir = parent.frame())
|
.local_envir |
|
This vignettes/_site.yml
declares the default vignette rendering function
for muggle vignettes.
To enable it,
you also must declare in the yaml frontmatter for each of the vignettes:
pkgdown: as_is: true
For an example of such a vignette with all its features,
see vignette("vignette-muggle")
By default, pkgdown builds vignettes (or rather, articles)
using a special format based on rmarkdown::html_document()
.
This format does not include the automatic numbering and
crossreferencing of figures, tables, equations, and (for cross-references)
sections supported by bookdown.
The
bookdown::html_document2()
render function backports these features for uses outside of bookdown.
Pandoc extensions are set to allow correctly indented raw HTML inside vignettes.
Other pkgdown functions:
build_site2()
,
override_pkgdownyaml()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.