flowchart LR A{node 1}-- is -->B(node 2) A-- has -->C[node 3]
HappyR, AgroParisTech
MaIAGE
May 3, 2024
---
```
Quarto is a command line interface (CLI) that renders plain text formats (.qmd
, .rmd
, .md
) OR mixed formats (.ipynb
/Jupyter notebook) into static PDF/Word/HTML reports, books, websites, presentations and more
fig-
), tables (tbl-
), sections (sec-
), equations (eq-
), (thm-
), etcinclude-code-files
: code from source filesfontawesome
, academicons
, … : Use icons collapse-social-embeds
: include social items.quarto-inrae-extension
: INRAE formats for HTML, PDF, Docx, Revealjs, and Beamer, thanks to @david_carayonpublic
.gitlab-ci.yml
# The Docker image that will be used to build your app
image: rocker/verse:4.4
# Functions that should be executed before the build script is run
before_script:
- quarto install extension davidcarayon/quarto-inrae-extension --no-prompt
pages:
script:
- quarto render
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
Toggle the slide menu with the menu button (or press m
) to go to other slides and access presentation tools.
Some other tools like PDF Export in this settings.
Press Escape (or press o
) to toggle overview mode.
Use the chalkboard button (or press b
) to toggle the chalkboard.
Use the notes canvas button (or press c
) to toggle drawing on top of the current slide.
Note
Five shades of callouts: note
, warning
, important
, tip
and caution
.
Native support for JupyterWidgets (Jupyter) and htmlwidgets (R/knitr)
Use . . .
to indicate a break at an arbitrary location
Let’s have a look at iris
Sepal.Length | Sepal.Width | Petal.Length | Petal.Width | Species |
---|---|---|---|---|
5.1 | 3.5 | 1.4 | 0.2 | setosa |
4.9 | 3.0 | 1.4 | 0.2 | setosa |
4.7 | 3.2 | 1.3 | 0.2 | setosa |
4.6 | 3.1 | 1.5 | 0.2 | setosa |
5.0 | 3.6 | 1.4 | 0.2 | setosa |
5.4 | 3.9 | 1.7 | 0.4 | setosa |
::: {.fragment}
Fade in
:::
::: {.fragment .fade-out}
Fade out
:::
::: {.fragment .strike}
Strike text
:::
::: {.fragment .fade-in-then-out}
Fade in, then out
:::
::: {.fragment .fade-up}
Slide up while fading in
:::
Fade in
Fade out
Strike text
Fade in, then out
Slide up while fading in
Turn presentations into applications with Observable and Shiny. Use component layout to position inputs and outputs.
viewof bill_length_min = Inputs.range(
[32, 50],
{value: 35, step: 1, label: "Bill length (min):"}
)
viewof islands = Inputs.checkbox(
["Torgersen", "Biscoe", "Dream"],
{ value: ["Torgersen", "Biscoe"],
label: "Islands:"
}
)
Should you switch to Quarto? Not necessarily. If you find R Markdown meets your needs, you can definitely stay there. It is not imperative to switch. Quarto’s goal is to cover most features of R Markdown eventually, but it may be impossible to become a strict superset of R Markdown.
- Yihui Xie
```{r}
#| label: "setup"
#| include: false
knitr::opts_chunk$set(echo = TRUE)
library(tidyverse)
library(DT)
library(ggimage)
```
Options are moved to within the code chunk using #|
(hash-pipe) for each line
output:
to the corresponding format:
in your YAMLknitr::convert_chunk_header()
to convert your code blocks (outputs a .qmd
file)_quarto.yml
file if necessaryQuarto – HappyR – May 3, 2024
Social media
Videos
gist