`r format(nrow(dat), big.mark = ",")`01 - Quarto Documents
Slides
Exercises
Exercise 1
- Open
01-exercise-r.qmdand preview the file:- In RStudio, click the Render button.
- In Positron or VS Code, click the “Preview” button or press Command + Shift + P.
- Add a
#| include: falsechunk option to the first cell. Preview the file and note the differences. - In the YAML, add an
authorfield and add your name. Preview the file. - Change
code-foldto betrue. Preview the file. - Edit the first paragraph to (1) make something bold by surrounding the text with
**and (2) use inline code instead of hardcoded values for the number of dams:
`{python} f"{total_dams:,}"`Exercise 2
- Add an
importantcallout box to “Key Findings at a Glance”:
::: {.callout-important}
_text here_
:::- Change the
formattorevealjs. Preview the document. - Change the
formattopdf. Preview the document.
Tip
Removing code-fold, code-summary, and embed-resources is not required because these are html only features. However, I’d recommend removing them to keep your document tidy.