```{mermaid}
flowchart LR
A[Hard edge] --> B(Round edge)
B --> C{Decision}
C --> D[Result one]
C --> E[Result two]
```
flowchart LR A[Hard edge] --> B(Round edge) B --> C{Decision} C --> D[Result one] C --> E[Result two]
Quarto (the next generation of RMarkdown) enables you to weave together content and code into a finished product.
If you’re familiar with Rmarkdown, you know how to use Quarto! (And if not, no worries, you’re about to learn)
What is Quarto good for?
Quarto files have an ending of .qmd
and are “rendered” into a document type of your choice.
Most of these examples are also in general_quarto.qmd (so you can reference that file later if you want to see how something should look)
install.packages("rmarkdown")
Make a new file and select “Quarto Document”
Quarto documents have two different view/edit options in RStudio:
<!-- this is a comment -->
rather than the usual # we expect in RTest
Note
Hello there!
This one has a title!
There are five kinds of these: note
, tip
, caution
, warning
, important
You can also make them collapsible, etc.
No level of lead exposure is considered safe
For more information about lead in drinking water, visit https://www.washtenaw.org/1811/Lead. (Just a made up example heading)
echo
, eval
, include
, error
, warnings
, echo:fenced
(full list here)html
, revealjs
, pptx
, docx
, pdf
, plus dashboard
(coming soon)In the pre-release of Quarto 1.4: https://quarto.org/docs/dashboards/
In the meantime: flexdashboard with Rmarkdown
Stuff to cover