View source: R/parse_collection.R
parse_collection | R Documentation |
Recursively searches a directory for R Markdown or Quarto documents and parses them into a collection of
rmd_ast
objects
parse_qmd_collection(
dir = "./",
pattern = "*.qmd",
all = FALSE,
recurse = TRUE,
regex = FALSE
)
parse_rmd_collection(
dir = "./",
pattern = "*.Rmd",
all = FALSE,
recurse = TRUE,
regex = FALSE
)
dir |
Directory to search |
pattern |
Pattern to match files, defaults to glob syntax |
all |
Search includes hidden files |
recurse |
Search recusively within |
regex |
Treat |
Returns a tibble
object with columns for document name
, path
, and ast
.
parse_rmd_collection(system.file("examples/", package="parsermd"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.