read_markdown_files: Process Markdown files in a directory into Episode objects

View source: R/utils.R

read_markdown_filesR Documentation

Process Markdown files in a directory into Episode objects

Description

Process Markdown files in a directory into Episode objects

Usage

read_markdown_files(src, cfg = list(), sandpaper = TRUE, ...)

Arguments

src

[character] the path to a folder containing markdown episodes

cfg

[list] a parsed config file that can be used to specify the order of the files with a key that matches the folder name.

sandpaper

[logical] if TRUE, the episodes are expected to be processed with sandpaper and will have the ⁠$confirm_sandpaper()⁠ method triggered.

...

methods passed to the Episode initializer

Value

a list of Episode objects


carpentries/pegboard documentation built on Nov. 13, 2024, 8:53 a.m.