Setting output type
There are two ways to set the output of a document:
- Modify the YAML header:
title: "Diamond sizes"
format: html
- Call quarto::quarto_render() by hand:
quarto::quarto_render("diamond-sizes.qmd", output_format = c("docx", "pdf"))
Note: You can produce multiple types of output since the output_format
argument can take a list of values