def fibonacci(n: int) -> int:
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
# Calculate the 10th Fibonacci number
print(fibonacci(10)) # Output: 55
Einstein’s famous equation:
$$E = mc^2$$The quadratic formula:
$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$Build your narrative step by step:
First, introduce the concept Then, add supporting details Finally, deliver the conclusionPress S to open presenter view!
Note:
Slides can have custom colors or images.
Use {{< slide background-color="#hex" >}}
| Key | Action |
|---|---|
โ / โ | Navigate slides |
S | Speaker notes |
F | Fullscreen |
O | Overview mode |
ESC | Exit modes |
content/slides/type: slides---Questions?
Built with Markdown Slides
Add your identity to every slide with simple configuration!
What you can add:
| Element | Position Options |
|---|---|
| Logo | top-left, top-right, bottom-left, bottom-right |
| Title | Same as above |
| Author | Same as above |
| Footer Text | Same + bottom-center |
Edit the branding: section in your slide’s front matter (top of file).
assets/media/ folderbranding:
logo:
filename: "your-logo.svg" # Must be in assets/media/
position: "top-right"
width: "60px"
Tip: SVGs with fill="currentColor" automatically match theme colors!
Show presentation title and/or author on every slide:
branding:
title:
show: true
position: "bottom-left"
text: "Short Title" # Optional: override long page title
author:
show: true
position: "bottom-right"
Author is auto-detected from page front matter (author: or authors:).
Add copyright, conference name, or any persistent text:
branding:
footer:
text: "ยฉ 2024 Your Name ยท ICML 2024"
position: "bottom-center"
Tip: Supports Markdown! Use [Link](url) for clickable links.
Sometimes you want a clean slide (title slides, full-screen images).
Add this comment at the start of your slide content:
<!-- no-branding -->
## My Clean Slide
Content here...
โ๏ธ This slide uses <!-- no-branding --> โ notice no logo or overlays!
Hide just the header (logo + title):
<!-- no-header -->
Or just the footer (author + footer text):
<!-- no-footer -->
โ๏ธ This slide uses <!-- no-header --> โ footer still visible below!
| Comment | Hides |
|---|---|
<!-- no-branding --> | Everything (logo, title, author, footer) |
<!-- no-header --> | Logo + Title overlay |
<!-- no-footer --> | Author + Footer text |
โ๏ธ This slide uses <!-- no-footer --> โ logo still visible above!