Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides to writing Quarto documents and projects, plus cross-references, citations, callouts, diagrams, and R Markdown or Jupyter migration.
Use this skill ↓64% 95%+32 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
Quarto uses a hashpipe (#|) syntax for code cell options, providing a clean, YAML-based approach that works across R, Python, Julia, and other languages.
Code cell options are specified with #| at the start of lines within the code block:
```{language}
#| label: fig-scatter
#| echo: false
#| fig-cap: "A scatter plot of x versus y."
#| fig-width: 8
#| fig-height: 6
# code that produces a scatter plot
```
Important: Options use dashes, not dots. Use fig-cap not fig.cap, fig-width not fig.width.
The hashpipe prefix is #| for R, Python, and Julia; diagram cells use a different prefix. See engines.md for the full table.
Control whether and how code is executed:
| Option | Description | Values |
|---|---|---|
eval | Evaluate the code | true, false |
echo | Include source code in output | true, false, fenced |
output | Include results in output | true, false, asis |
warning | Include warnings | true, false |
error | Include errors (stop on error if false) | true, false |
include | Include cell in output at all | true, false |
Show code but don't run it:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.