Create Book.txt file from files existing in quiz directory

course_to_book_txt(
  path = ".",
  md_files = NULL,
  output_dir = "manuscript",
  quiz_dir = "quizzes",
  verbose = TRUE
)

Arguments

path

path to the bookdown or quarto course repository, must have a `_bookdown.yml` or `_quarto.yml` file

md_files

vector of file path of the md's to be included

output_dir

output directory to put files. It should likely be relative to path

quiz_dir

Where are the quizzes stored? Default looks for folder called "quizzes".

verbose

print diagnostic messages

Value

A list of quiz and chapter files in order in a file called Book.txt -- How Leanpub wants it.