Loading...
Loading...
Writing and authoring Quarto documents (.qmd), including code cell options, figure and table captions, cross-references, callout blocks (notes, warnings, tips), citations and bibliography, page layout and columns, Mermaid diagrams, YAML metadata configuration, and Quarto extensions. Also covers converting and migrating R Markdown (.Rmd), bookdown, blogdown, xaringan, and distill projects to Quarto, and creating Quarto websites, books, presentations, and reports.
npx skill4agent add posit-dev/skills quarto-authoringThis skill is based on Quarto CLI v1.8.26.
---
title: "Document Title"
author: "Author Name"
date: today
format: html
---
Content goes here.---::: {.class-name}
Content inside the div.
:::This is [important text]{.highlight}.|fig-capfig.cap#|%%|//|```{r}
#| label: fig-example
#| echo: false
#| fig-cap: "A scatter plot example."
plot(x, y)
```| Option | Description | Values |
|---|---|---|
| Evaluate code | |
| Show code | |
| Include output | |
| Show warnings | |
| Show errors | |
| Include in output | |
execute:
echo: false
warning: false@fig-#| label: fig-plot@fig-plottbl-#| label: tbl-data@tbl-datasec-{#sec-intro}@sec-introeq-{#eq-model}@eq-model```{r}
#| label: fig-plot
#| fig-cap: "A caption for the plot."
plot(1)
```
See @fig-plot for the results.notewarningimportanttipcaution::: {.callout-note}
This is a note callout.
:::
::: {.callout-warning}
## Custom Title
This is a warning with a custom title.
:::{#fig-name fig-alt="Alt text"}::: {#fig-group layout-ncol=2}
{#fig-sub1}
{#fig-sub2}
Main caption for the group.
:::::: {#tbl-example}
| Column 1 | Column 2 |
| -------- | -------- |
| Data 1 | Data 2 |
Table caption.
:::According to @smith2020, the results show...
Multiple citations [@smith2020; @jones2021].bibliography: references.bib
csl: apa.csltitle: "My Report"
author: "Your Name"
date: today
format:
html:
toc: true
code-fold: true
theme: cosmotitle: "My Report"
format:
pdf:
documentclass: article
papersize: a4---
title: "My Presentation"
format: revealjs
---
## First Slide
Content here.
## Second Slide
More content._quarto.ymlproject:
type: website
website:
title: "My Site"
navbar:
left:
- href: index.qmd
text: Home
- href: about.qmd
text: About
format:
html:
theme: cosmo