Yu-Chao Wang · Your Organization
Slides are separated by --- (horizontal rule):
# First Slide
Content here
---
## Second Slide
More content
---
## Third Slide
And so on...
Each slide supports:
#, ##, ###)Supports 50+ programming languages:
def calculate_accuracy(y_true, y_pred):
correct = sum(1 for t, p in zip(y_true, y_pred) if t == p)
return correct / len(y_true) * 100
accuracy = calculate_accuracy([1, 0, 1], [1, 1, 1])
print(f"Accuracy: {accuracy:.1f}%")
interface User {
name: string;
role: "admin" | "editor" | "viewer";
}
function greet(user: User): string {
return `Hello, ${user.name}!`;
}
Full LaTeX support for inline and block math:
Inline math: Einstein’s famous equation is $E = mc^2$.
Block math:
$$\nabla \times \vec{E} = -\frac{\partial \vec{B}}{\partial t}$$Maxwell’s equations:
$$\oint_{\partial \Sigma} \vec{E} \cdot d\vec{l} = -\frac{d}{dt} \iint_{\Sigma} \vec{B} \cdot d\vec{A}$$Add private notes only visible in presenter view:
## My Slide
Visible content here
Note:
- This is a speaker note (press S to view)
- Only you see these in presenter mode
- Perfect for talking points and reminders
Press S during your presentation to open the presenter console.
Keep backup slides in your source without showing them:
## Visible Slide
This slide will appear in the presentation.
---
<!-- hide -->
## Hidden Slide
This won't appear but stays in source for reference.
---
## Another Visible Slide
Back to normal presentation flow.
Use cases:
This slide has no branding elements.
Add <!-- no-branding --> at the start of a slide to hide logo, title, author, and footer.
Other options:
<!-- no-header --> — hides logo + title<!-- no-footer --> — hides author + footerAdd your logo, title, author, and footer to every slide:
slides:
branding:
logo:
filename: "logo.png"
position: "top-right"
width: "60px"
title:
show: true
position: "bottom-left"
author:
show: true
position: "bottom-right"
footer:
text: "© 2026 · Your Name"
position: "bottom-center"
Tip: Use SVG logos with fill="currentColor" for automatic theme adaptation.
class Transformer:
def __init__(self):
self.layers = []
self.attention = MultiHeadAttention()
self.ffn = FeedForward()
def forward(self, x):
for layer in self.layers:
x = layer(x)
return x
Create hierarchical slides with sub-slides:
## Main Topic
Overview content here
Press ↓ for details
---
{{< slide id="detail-1" >}}
### Detail Level 1
More information
---
{{< slide id="detail-2" >}}
### Detail Level 2
Even more detail
Press → to continue
Perfect for optional deep-dives that viewers can skip or explore.
Choose from 15+ built-in themes:
Dark Themes:
black (default) — Clean dark backgroundnight — Dark blue/purpleblood — Dark red accentleague — Gray with orangeLight Themes:
white — Clean white backgroundsimple — Minimal whitebeige — Warm beigesky — Light blue gradientSpecial:
solarized — Solarized color schememoon — Purple/blue gradientserif — Serif font stylingAdd color, image, or video backgrounds to individual slides:
{{< slide background-color="#1e3a8a" >}}
## Blue Background
This slide has a custom blue background!
---
{{< slide background-image="background.jpg" >}}
## Image Background
Content over image
---
{{< slide background-video="video.mp4" >}}
## Video Background
Dynamic background!
Reveal content progressively:
First point appears. Then this point appears. Finally, this point appears. This point is highlighted in red!{{< youtube dQw4w9WgXcQ >}}
{{< bilibili id="BV1dyXqBaEE5" >}}
{{< video src="demo.mp4" controls="yes" >}}
{{< audio src="interview.mp3" >}}
Create flowcharts, sequence diagrams, and more:
slides:
diagram: true
Present research results and benchmarks:
| Model | Accuracy | Latency | Memory |
|---|---|---|---|
| GPT-3 | 87.3% | 450ms | 4GB |
| GPT-4 | 92.1% | 890ms | 8GB |
| Ours | 95.8% | 320ms | 2GB |
“The best way to predict the future is to invent it.” — Alan Kay
Recent research by Chen et al. (2024) demonstrates significant improvements.1
Use the slide shortcode for advanced customization:
{{< slide id="custom" class="my-class" data-background-color="#ff0000" >}}
## Custom Slide
This slide has:
- Custom ID for linking
- Custom CSS class
- Red background
| Key | Action |
|---|---|
→ ← | Navigate slides (horizontal) |
↓ ↑ | Navigate substeps (vertical) |
Space | Next slide |
S | Open speaker notes |
F | Fullscreen mode |
ESC | Exit fullscreen / Overview mode |
O | Overview mode (see all slides) |
/ | Search slides |
? | Show keyboard help |
Press S to open a separate presenter window showing:
Tip: Open presenter view on your laptop while mirroring the main presentation to the projector!
Associate slide decks with conference talks:
content/slides/neurips-2024/index.mdcontent/events/neurips-talk/index.mdslides: "neurips-2024" to the event front matterSlides automatically embed on the event page with fullscreen toggle.
Export slides to PDF:
?print-pdf to URLTip: Use Chrome or Chromium for best results.
This slide is hidden from the presentation but remains in the source.
Use cases:
Resources:
slides:
theme: black
highlight_style: dracula
diagram: true
branding:
logo:
filename: "logo.png"
position: "top-right"
width: "60px"
title:
show: true
position: "bottom-left"
author:
show: true
position: "bottom-right"
footer:
text: "© 2026 · Your Name"
position: "bottom-center"
reveal_options:
controls: true
progress: true
slideNumber: true
hash: true
history: true
keyboard: true
overview: true
center: true
touch: true
loop: false
fragments: true
help: true
transition: "slide"
menu_enabled: true
Chen, S. et al. (2024). Advances in AI. Nature. ↩︎
