Project Options
Options that define the type, render targets, and output of a project. Project options are specified under the project
key. For example:
---
project:
type: default
output-dir: _output
---
Preview
Specify options that control the behavior of quarto preview
within the preview
key. For example:
---
project:
type: default
output-dir: _output
preview:
port: 4200
browser: false
---
Available preview
options include:
Serve
If you are creating a project extension for another publishing system that includes its own preview server (for example, Hugo or Docusaurus) then use the preview: serve
options to customize the behavior of the preview server.
See the Hugo and Docusaurus extension source code for example usages of preview: serve
.