if (FALSE) {
# Preview the project in the current directory
quarto_preview()
# Preview a document
quarto_preview("document.qmd")
# Preview the project in "myproj" directory and use external browser
# (rather than RStudio Viewer)
quarto_preview("myproj", open = utils::browseURL)
# Stop any running quarto preview
quarto_preview_stop()
}
Run the code above in your browser using DataLab