Skip to content

Commit 8208348

Browse files
Merge pull request #1091 from dpprdan/fix/qmd_as_filetype
add `qmd` as supported value to `filetype` parameter
2 parents 6a24c73 + 8f97b81 commit 8208348

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
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

man/prettify_any.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/prettify_pkg.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/style_dir.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/style_pkg.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)