R/mod-app-instructions.R

Defines functions get_markdown

get_markdown <- function() {
  HTML(markdown::markdownToHTML(
    knitr::knit(input = glue::glue(
      tools::file_path_sans_ext(config::get("path_to_markdown")), ".Rmd"
    ),
    output = glue::glue(
      tools::file_path_sans_ext(config::get("path_to_markdown")), ".md"
    ),
    quiet = TRUE),
    stylesheet = system.file("app/www/custom.css", package = "dccvalidator")
    )
    )
}

Try the dccvalidator package in your browser

Any scripts or data that you put into this service are public.

dccvalidator documentation built on July 2, 2020, 4:05 a.m.