project:
type: websiteProject and misc
There are a few segments that can be included at the top of the yml file.
Project
The type of project (i.e. is it a website, book, etc.)
For a normal quarto website you can have the following.
Tip
Note that the top line of a segment (i.e. project:) has no indentation. Then all lines in that segment have at least one level of indentations (e.g. type:website has one level).
You can also create:
There are also other Project options than just type:. For example you can set the output director with output-dir:.
Editor
Editor options. We set this part to try to ensure our preview updates when we save.
editor:
render-on-save: trueKnitr
Try to force the use of knitr.
knitr: true