Skip to content

Commit

Permalink
Merge pull request #1091 from dpprdan/fix/qmd_as_filetype
Browse files Browse the repository at this point in the history
add `qmd` as supported value to `filetype` parameter
  • Loading branch information
IndrajeetPatil authored Jan 17, 2023
2 parents 6a24c73 + 8f97b81 commit 8208348
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
7 changes: 4 additions & 3 deletions R/ui-styling.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ style_pkg <- function(pkg = ".",
#' Prettify a package
#'
#' @param filetype Vector of file extensions indicating which file types should
#' be styled. Case is ignored, and the `.` is optional, e.g.
#' `c(".R", ".Rmd")`, or `c("r", "rmd")`. Supported values (after
#' standardization) are: "r", "rprofile", "rmd", "rmarkdown", "rnw". Rmarkdown is treated as Rmd.
#' be styled. Case is ignored, and the `.` is optional, e.g. `c(".R",
#' ".Rmd")`, or `c("r", "rmd")`. Supported values (after standardization) are:
#' "r", "rprofile", "rmd", "rmarkdown", "rnw", "qmd". Rmarkdown is treated as
#' Rmd.
#' @param exclude_files Character vector with paths to files that should be
#' excluded from styling.
#' @param exclude_dirs Character vector with directories to exclude
Expand Down
6 changes: 3 additions & 3 deletions man/prettify_any.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/prettify_pkg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/style_dir.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/style_pkg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8208348

Please sign in to comment.