import pandas as pd
import matplotlib.pyplot as plt
df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})
df.plot(kind='bar')
plt.show()
2024-09-30
This presentation will guide you through the basics of creating slides with Quarto and Revealjs.
You can format text in various ways:
Inline code
is created using backticksYou can create lists easily:
You can add images to your slides like this:
This is the content for the left column.
You can add any content here, like text, images, or code.
This is the content for the right column.
You can reveal content incrementally:
Fragments allow you to fade in content:
This content will fade in.
And this content will fade in next.
“The only way to do great work is to love what you do.” - Steve Jobs
You can include Python code in your slides (and highlight specific lines):
Quarto supports syntax highlighting for various languages:
You can change the presentation theme in the YAML header:
Some popular themes include moon
, black
, white
, and league
. More themes are available in the Revealjs documentation.
You can customize slide transitions in the YAML header:
Available transitions include none
, fade
, slide
, convex
, concave
, and zoom
. You can also customise the transition in each slide.
style
You can set a background image for a slide
You can align the content of a slide:
This content is centered.
This content is right-aligned.
You can change the font size of the content:
This content has a font size of 24px.
This content has a font size of 36px.
You can nest styles within each other:
This content is centred with a font size of 24px and a light blue background.
This nested content is red.
Footer text