@@ -62,10 +62,13 @@ All packages are required to have at least one Rmd, qmd, or Rnw vignette.
6262Vignettes go in the ` vignettes/ ` directory of the package. Vignettes are often
6363used as standalone documents, so best practices are to include an informative
6464title, the primary author of the vignette, the last modification date of the
65- vignette, and a link to the package landing page. We encourage the use of
66- ` r BiocStyle::Biocpkg("BiocStyle") ` with ` html_document ` as the rendering
67- function. For example, in an R Markdown vignette one can use the following
68- specification in the yaml front matter:
65+ vignette, and a link to the package landing page.
66+
67+ ### RMarkdown vignettes
68+
69+ We encourage the use of ` r BiocStyle::Biocpkg("BiocStyle") ` with the
70+ ` html_document ` rendering function. For example, in an R Markdown vignette one
71+ can use the following specification in the yaml front matter:
6972
7073``` yaml
7174output :
@@ -91,6 +94,31 @@ vignette: >
9194 %\V ignetteEncoding{UTF-8}
9295` ` `
9396
97+ # ## Quarto vignettes
98+
99+ More recently, `quarto` vignettes have been introduced as a new format for
100+ vignettes. Quarto vignettes are similar to R Markdown but offer more advanced
101+ features, flexibility, and multi-language support. The yaml front matter for a
102+ Quarto vignette is similar to R Markdown, but it uses `quarto::html` as the
103+ rendering function. For example, in a Quarto vignette one can use the following
104+ specification in the yaml front matter :
105+
106+ ` ` ` yaml
107+ vignette: >
108+ %\V ignetteEngine{quarto::html}
109+ %\V ignetteIndexEntry{1. Quick Start: An Introduction}
110+ %\V ignetteEncoding{UTF-8}
111+ ` ` `
112+
113+ In addition to the yaml front matter, vignette authors must ensure that the
114+ ` quarto` command line tool is listed as a `SystemRequirements` in the
115+ ` DESCRIPTION` file, as well as, indicate that the `VignetteBuilder` is set to
116+ `quarto` in the `DESCRIPTION` file :
117+
118+ ` ` ` r
119+ VignetteBuilder: quarto
120+ ` ` `
121+
94122Some best practices and requirements for writing _Bioconductor_ vignettes are
95123detailed in the following sections.
96124
0 commit comments