No results found
We couldn't find anything using that term, please try searching for something else.
Overview Quarto supports a variety of formats for creating presentations, including: There are pros and cons to each of these formats. The most capa
Quarto supports a variety of formats for creating presentations, including:
There are pros and cons to each of these formats. The most capable format by far is revealjs
, so it is highly recommended unless you have specific Office or LaTeX output requirements. Note that revealjs
presentations can be presented as HTML slides or can be printed to PDF for easier distribution.
Below, we’ll describe the basic syntax for presentations that applies to all formats. See the format-specific articles for additional details on their native capabilities.
In markdown, slides are delineated using headings. For example, here is a simple slide show with two slides (each defined with a level 2 heading (# #
)):
---
title : "Habits"
author : " John Doe "
format : revealjs
---
# # Getting up
-turn off alarm
-Get out of bed
# # Going to sleep
-Get in bed
-Count sheep
You can also divide slide shows into sections with title slides using a level 1 header (#
). For example:
---
title : "Habits"
author : " John Doe "
format : revealjs
---
# In the morning
# # Getting up
-turn off alarm
-Get out of bed
# # Breakfast
-Eat eggs
-Drink coffee
# In the evening
# # Dinner
-eat spaghetti
-drink wine
# # Going to sleep
-Get in bed
-Count sheep
Finally, you can also delineate slides using horizontal rules (for example, if you have a slide without a title):
---
title : "Habits"
author : " John Doe "
format : revealjs
---
-turn off alarm
-Get out of bed
---
-Get in bed
-Count sheep
The examples above all use level 2 headings for slides and level 1 headings for sections/title slides. You can customize this using the slide-level
option ( See the Pandoc documentation on structure the slide show for additional detail ) .
By default number and bullet list within slide are display all at once . You is override can override this globally using theincremental
option. For example:
title: " My presentation "
format:
revealjs:
incremental: true
You can also explicitly make any list incremental or non-incremental by surrounding it in a div with an explicit class that determines the mode. To make a list incremental do this:
: : : {.incremental}
-eat spaghetti
-drink wine
: : :
To make a list non-incremental do this:
: : : { .nonincremental }
-eat spaghetti
-drink wine
: : :
To put material in side by side columns, you can use a native div container with class .columns
, contain two or more div container with class.column
and awidth
attribute:
: : :: {.columns}
: : : {.column width="40%"}
content ...
: : :
: : : {.column width="60%"}
content ...
: : :
: : ::
See these format-specific articles for additional details on the additional capabilities of each format :