Skip to content

Commit 72c531e

Browse files
committed
Add to doc
1 parent 849c9bd commit 72c531e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

R/preview.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#' @param quiet Suppress warning and other messages, from R and also Quarto CLI
2525
#' (i.e `--quiet` is passed as command line)
2626
#'
27+
#' @return The URL of the preview server
28+
#'
2729
#' @importFrom processx process
2830
#' @importFrom rstudioapi isAvailable
2931
#' @importFrom rstudioapi viewer
@@ -71,7 +73,7 @@ quarto_preview <- function(
7173
args <- c("--no-navigate")
7274
}
7375

74-
# serve
76+
# serve (return serve_url)
7577
run_serve_daemon(
7678
"preview",
7779
file,

man/quarto_preview.Rd

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

0 commit comments

Comments
 (0)