Nothing
test_that("pandoc works", {
skip_if_no_quarto()
x <- whirl_r_session$new()
file.copy(
from = test_script("test-mdformats.html"),
to = file.path(x$get_wd(), "log.html")
) |>
expect_true()
tmpdir <- withr::local_tempdir()
mdformats(
script = "test1.R",
log_html = file.path(x$get_wd(), "log.html"),
mdfmt = c("gfm", "commonmark", "markua"),
out_dir = tmpdir,
self = x
) |>
suppressMessages()
file.path(
tmpdir,
paste0("test1_log_", c("gfm", "commonmark", "markua"), ".md")
) |>
file.exists() |>
all() |>
expect_true()
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.