Skip to content

Commit 9cb8c45

Browse files
committed
add qmd as supported value to filetype parameter
1 parent 6a24c73 commit 9cb8c45

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

R/ui-styling.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ style_pkg <- function(pkg = ".",
8787
#' Prettify a package
8888
#'
8989
#' @param filetype Vector of file extensions indicating which file types should
90-
#' be styled. Case is ignored, and the `.` is optional, e.g.
91-
#' `c(".R", ".Rmd")`, or `c("r", "rmd")`. Supported values (after
92-
#' standardization) are: "r", "rprofile", "rmd", "rmarkdown", "rnw". Rmarkdown is treated as Rmd.
90+
#' be styled. Case is ignored, and the `.` is optional, e.g. `c(".R",
91+
#' ".Rmd")`, or `c("r", "rmd")`. Supported values (after standardization) are:
92+
#' "r", "rprofile", "rmd", "rmarkdown", "rnw", "qmd". Rmarkdown is treated as
93+
#' Rmd.
9394
#' @param exclude_files Character vector with paths to files that should be
9495
#' excluded from styling.
9596
#' @param exclude_dirs Character vector with directories to exclude

0 commit comments

Comments
 (0)