And they even stack properly.
And lists:
Links: This is URL, maybe also links to functions: processx::poll().
roxygen2 style links do not work in markdown unfortunately. They do work in the manual, though: processx::poll().
And some code:
eval_rmd <- function(path, output_format = rmarkdown::github_document(), ...) { md_path <- tempfile(fileext = ".md") on.exit(unlink(md_path, recursive = TRUE), add = TRUE) rmarkdown::render(path, output_format = output_format, output_file = md_path, ...) eval_md(md_path) }
We can run some R code as well:
fib <- function(n) { if (n == 0) { 0 } else if (n == 1) { 1 } else { fib(n - 1) + fib(n - 2) } } fib(1) fib(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.