This example illustrates the required metadata by andrew
for a tutorial written as pkgdown
vignette,
based on R Markdown(Xie, Allaire, and Grolemund
2018) which is an extension to Markdown(Gruber 2004).
Markdown
andrew
uses Quarto and pkgdown
uses R Markdown to convert Markdown
to HTML.
Although footnotes are supported, the use of footnotes is discouraged1.
Math can be written using LaTeX and is render by MathJax. Both inline, for example \(x\), and standalone, for example \[x = \sqrt{a^2 + b^2}\text{,}\] is supported.
R Markdown does not support cross-references like (sec-markdown?).
R Markdown supports code execution .
Execution of R code
R code can be executed and the output can be included inline, for
example 1 + 1
is equal to 2, and standalone, for
example
a <- 1
b <- 1
a + b
#> [1] 2
Annotation of code blocks is also supported. For example,
-
%%
calculates the remainder on integer division.
Binder
The link to Binder will launch RStudio IDE.
Binder uses the information in runtime.txt
to launch RStudio
IDE.