Abstrave quarto theme
Roy Francis
05-Sep-2026
This is a Quarto Reveal.js presentation. This demo showcases general authoring and presentation capabilities. Reveal.js in Quarto is documented here.
Press qq to enable the pointer and press qq again to hide it.
Add YAML front matter to the top of a .qmd file.
Render it from a terminal:
Slides are separated by ##. They can be with or without a title. Slides can be hidden or not counted in slide numbering.
Content inside .notes is visible only in presenter mode. Press ss to enable presenter mode.
Incremental content is separated by . . . (three dots with spaces) like seen now
The slide content can be organized into nested columns.
Left content
Right content
[Left aligned text]{.left}
Left aligned text
[Center aligned text]{.center}
Center aligned text
[Right aligned text]{.right}
Right aligned text
Centered content
ABCDEFGHIJKLMNOPQRSTUYWXYZÅÄÖ
abcdefghijklmnopqrstuvwxyzåäö
0123456789
!“#%&/()$@*^~<>-:;,_±|?+=
This is **bold** produces bold text
This is *italic* produces italic text
~~Strikethrough~~ produces strikethrough text
This is subscript H~2~O H2O and superscript 2^10^ 210
This line is quoted.
Largest text
Large text
Normal text
Small text
Smallest text
This is a [link](https://example.com/) This is a link
[button]{.btn} button
[button]{.btn .btn-primary} button
[button]{.btn .btn-secondary} button
[button]{.btn .btn-tertiary} button
This is a [badge]{.badge .badge-primary}
This is a badge
This is a secondary [badge]{.badge .badge-secondary}
This is a secondary badge
This is a tertiary [badge]{.badge .badge-tertiary}
This is a tertiary badge
Attention
This paragraph is red.
[This text is blue]{style="color: blue"}
This text is blue
::: {.callout-note}
This is a callout.
:::
::: {.callout-warning}
This is a callout.
:::
::: {.callout-important}
This is a callout.
:::
::: {.callout-tip}
This is a callout.
:::
::: {.callout-caution}
This is a callout.
:::
Note
This is a callout.
Warning
This is a callout.
Important
This is a callout.
Tip
This is a callout.
Caution
This is a callout.
Variants of callout
::: {.callout-note icon=false}
Icon is disabled
:::
::: {.callout-note appearance="simple"}
Appearance is simple
:::
::: {.callout-note appearance="minimal"}
Appearance is minimal
:::
::: {.callout-note appearance="simple"}
## Custom title
Simple appearance and a custom title
:::
::: {.callout-note appearance="minimal"}
## Custom title
Minimal appearance and a custom title
:::
Note
Icon is disabled
Appearance is simple
Appearance is minimal
Custom title
Simple appearance and a custom title
Custom title
Minimal appearance and a custom title
Accordion support is provided through the accordion extension.
Accordion contents can be defined in the YAML header as shown below.
and then called in the body using the shortcode.
An accordion can also be defined inline as shown below.
Multiple inline items are defined using JSON.
{{< accordion label="inline-multi" items='[
{ "header": "Inline Item 1", "body": "Content for inline item 1." },
{ "header": "Inline Item 2", "body": "Content for inline item 2." }
]' >}}
Inline code can be written with backticks: `this` looks like this.
Code blocks do not need to execute to be syntax highlighted.
Sizing pre-formatted inline code
[`Sys.Date()`]{.largest}
[`Sys.Date()`]{.larger}
[`Sys.Date()`]{.large}
`Sys.Date()`
[`Sys.Date()`]{.small}
[`Sys.Date()`]{.smaller}
[`Sys.Date()`]{.smallest}
Sys.Date()
Sys.Date()
Sys.Date()
Sys.Date()
Sys.Date()
Sys.Date()
Sys.Date()
Sizing pre-formatted code block
::: {.small}
```
Sys.Date()
```
:::
Sys.Date()
::: {.smaller}
```
Sys.Date()
```
:::
Sys.Date()
Sys.Date()
For more code highlighting documentation, see here.
Simple markdown table
| Item | Category | Cost |
|---|---|---|
| Apple | Food | $10 |
| Bus | Transport | $15 |

<img src="assets/image.webp" style="width:30%;"/>

Stretch images to use up remaining space
Some examples of rendering equations
Some examples of rendering equations
$\left( \sum_{i=1}^{n}{i} \right)^2 = \left( \frac{n(n+1)}{2}\right)^2 = \frac{n^2(n+1)^2}{4}$
$\begin{eqnarray} X & \sim & \mathrm{N}(0,1)\\ Y & \sim & \chi^2_{n-p}\\ R & \equiv & X/Y \sim t_{n-p} \end{eqnarray}$
$\begin{eqnarray} P(|X-\mu| > k) & = & P(|X-\mu|^2 > k^2)\\ & \leq & \frac{\mathbb{E}\left[|X-\mu|^2\right]}{k^2}\\ & \leq & \frac{\mathrm{Var}[X]}{k^2} \end{eqnarray}$
\(\left( \sum_{i=1}^{n}{i} \right)^2 = \left( \frac{n(n+1)}{2}\right)^2 = \frac{n^2(n+1)^2}{4}\)
\(\begin{eqnarray} X & \sim & \mathrm{N}(0,1)\\ Y & \sim & \chi^2_{n-p}\\ R & \equiv & X/Y \sim t_{n-p} \end{eqnarray}\)
\(\begin{eqnarray} P(|X-\mu| > k) & = & P(|X-\mu|^2 > k^2)\\ & \leq & \frac{\mathbb{E}\left[|X-\mu|^2\right]}{k^2}\\ & \leq & \frac{\mathrm{Var}[X]}{k^2} \end{eqnarray}\)
The leaflet extension uses document metadata and a shortcode to create maps.
## Colourful {background-color="#ABEBC6"}
This slide has a colourful background.
## Big image {background-image="assets/image.webp"}
This slide has a background image.
Change title slide background image by adjusting the following YAML parameters.
---
title-slide-attributes:
data-background-image: "assets/image.webp"
data-background-size: "cover"
data-background-opacity: "1"
---
## as the top level heading for each slidecss: "styles.css" YAML option.