This is a Quarto template for creating RevealJS slides.
The template can be used as a starting point for your own slides and includes a number of different layouts and examples of Markdown syntax, slide layout, links, embedding images and configuration options.
Quarto slides are written in Markdown.
Markdown Syntax | Output |
---|---|
*italics* , **bold** , ***bolditalics*** |
italics, bold, bold italics |
superscript^1^ , subscript~2~ |
superscript1, subscript2 |
~~strikethrough~~ |
|
code |
code |
[Quarto](https://quarto.org) |
Quarto |
Slides can have columns and you can create lists of different types.
You can manually add tables.
Markdown Syntax | Output |
---|---|
inline math $E = mc^{2}$ |
inline math \(E = mc^{2}\) |
display math: $$E = mc^{2}$$ |
display math: \[E = mc^{2}\] |
Figures can be embeded using a URL and resized.
![Relaxing in the Julian Alps](https://live.staticflickr.com/65535/53144704609_c5e6fa8c77_k.jpg){width=700}
You can also include images locally.1 and make them hyperlinks.
Include R code and output with automatic referencing (see Figure 1)
Include Python code and output too
#| label: fig-polar
#| fig-cap: "A line plot on a polar axis."
#| warning: false
#| eval: false
#| echo: true
import numpy as np
import matplotlib.pyplot as plt
r = np.arange(0, 2, 0.01)
theta = 2 * np.pi * r
fig, ax = plt.subplots(
subplot_kw = {'projection': 'polar'}
)
ax.plot(theta, r)
ax.set_rticks([0.5, 1, 1.5, 2])
ax.grid(True)
plt.show()
#| label: fig-polar2
#| fig-cap: "A line plot on a polar axis."
#| warning: false
#| eval: true
#| echo: true
import numpy as np
import matplotlib.pyplot as plt
r = np.arange(0, 2, 0.01)
theta = 2 * np.pi * r
fig, ax = plt.subplots(
subplot_kw = {'projection': 'polar'}
)
ax.plot(theta, r)
ax.set_rticks([0.5, 1, 1.5, 2])
ax.grid(True)
plt.show()
::::
There are lots of options for showing, hiding, highlighting code blocks.
The official documentation is really good.
Extensions for themes and other functionality (press c
whilst viewing these slides 😉 ).
This Template…
Slides : github-username.github.io/
Quarto RevealJS Template