add_chapter: Add a new .qmd file representing a Quarto book chapter

View source: R/quarto_setup.R

add_chapterR Documentation

Add a new .qmd file representing a Quarto book chapter

Description

Add a new .qmd file representing a Quarto book chapter

Usage

add_chapter(filename = here("chapters", "chapter_0X.qmd"))

Arguments

filename

Character indicating the path to the .qmd file to be created.

Value

Character with path to .qmd files.

Examples

path <- tempdir()
c <- add_chapter(filename = tempfile(fileext = ".qmd"))

almeidasilvaf/tidyproj documentation built on Jan. 19, 2024, 3:56 p.m.