Hello Quarto
Slides
Demo Outline
These are roughly the steps I’ll cover in the “Tour of Quarto”:
Open the Quarto document called
hello-penguins.qmd. Opens in Visual Mode.Note the extension
.qmd: short for Quarto Markdown.Render using “Render” button. Quarto does its magic.
Output is
hello-penguins.html.Switch to Source Editor.
Point out Quarto document components in
.qmdand their counterparts in.html:- YAML header surrounded by
---. Title block in.html. - Code cells surrounded `
``` ```. Code and output in.html`. Code cells can be run in Console. - Markdown Text. So far, only headings
##.
- YAML header surrounded by
Show off some other formats:
format: pdfformat: docxformat: revealjs
Show off some features:
Visual editor: Bold palmerpenguins and add link to https://allisonhorst.github.io/palmerpenguins/.
Control code output: Add code chunk options:
fig-altecho: false, then move to YAML headercode-fold: trueinsteadtheme: vaporunderhtml
Cross reference a figure:
- Add a caption, refer in text
Add a citation: 10.1371/journal.pone.0090081
If time permits, publish:
Terminal
quarto publish hello-penguins.qmd