get_files_with_yml_header <- function(...) {
lf <- list.files(...)
tibble::tibble(files = lf) %>%
dplyr::mutate(has_yaml = purrr::map_lgl(files, has_yaml_header))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.