RevealJS Presentation Template
RevealJS Presentation Template
This template provides a starting point for creating professional presentations using Quarto and RevealJS. It includes examples of various slide layouts, formatting options, and interactive elements.
Template Usage
To use this template:
- Download the template files
- Modify the content to suit your needs
- Render with Quarto to create your presentation
The template includes examples of common slide layouts and RevealJS features to help you get started quickly.
Template Structure
The template consists of a main .qmd file with YAML front matter and markdown content for slides. The structure follows a typical professional presentation:
- Title slide
- Agenda/Overview
- Introduction
- Main content sections
- Summary/Conclusion
- Q&A or contact information
YAML Front Matter
The template includes comprehensive YAML front matter with common RevealJS settings:
---
title: "Presentation Title"
subtitle: "Optional Subtitle"
author: "Your Name"
date: "2025-04-05"
format:
revealjs:
theme: dark
logo: "/path/to/logo.png"
footer: "© 2025 Your Organization"
navigation-mode: vertical
controls: true
progress: true
history: true
transition: slide
background-transition: fade
preview-links: auto
touch: true
slide-number: true
show-slide-number: all
slide-level: 2
scrollable: true
menu: true
code-copy: true
center: true
highlight-style: dracula
link-external-icon: true
link-external-newwindow: true
---
Example Slides
The template includes examples of different slide layouts and elements:
Title Slide
# Presentation Title {.title-slide background-color="#123456"}
## Presenter
:::: {.columns}
::: {.column width="30%"}{width="250px"}
:::
::: {.column width="70%"}### Presenter Name
**Position/Title**
* Credential/Qualification 1
* Credential/Qualification 2
* Brief professional background
[email@example.com](mailto:email@example.com)
:::
::::
Section Divider
# Section Title {.centered background-color="#123456"}
Two-Column Layout
## Slide Title
:::: {.columns}
::: {.column width="50%"}### Left Column
* Point 1
* Point 2
* Point 3
:::
::: {.column width="50%"}### Right Column
* Point A
* Point B
* Point C
:::
::::
Image Slide
## Image Example
{.border width="80%"}
Bulleted List with Incremental Reveal
## Key Points
::: {.incremental}* First point appears immediately
* Second point appears on next click
* Third point appears on next click
* Fourth point appears on next click
:::
Code Block
## Code Example
```python
def example_function():
"""Example function with documentation."""
= "Hello World"
result return result
# Call the function
example_function()```
Table
## Data Table
| Category | Value 1 | Value 2 | Value 3 |
|----------|---------|---------|---------|
| Group A | 10.5 | 23.8 | 42.1 |
| Group B | 14.2 | 25.0 | 38.9 |
| Group C | 12.7 | 22.3 | 41.5 |
Mermaid Diagram
## Process Diagram
```{mermaid}
flowchart TD
A[Start] --> B{Decision}1]
B -->|Yes| C[Action 2]
B -->|No| D[Action 1]
C --> E[Result 2]
D --> F[Result
E --> G[End]
F --> G```
Speaker Notes
## Slide with Notes
This content appears on the slide.
::: {.notes}
These are speaker notes that only appear in presenter view:- Remind audience about previous topic
- Emphasize key point
- Watch timing - spend only 2 minutes here
:::
Styling Options
The template includes examples of various styling options:
## Text Formatting
Regular text, **bold text**, *italic text*, ~~strikethrough~~
## Custom Colors
::: {.text-primary}
Primary colored text
:::
::: {.text-danger}
Danger colored text
:::
## Text Boxes
::: {.alert .alert-info}
Information callout box with important details.
:::
::: {.alert .alert-warning}
Warning message that needs attention. :::
Interactive Elements
The template includes examples of interactive elements:
## Interactive Elements
::: {.panel-tabset}### Tab 1
Content for first tab
### Tab 2
Content for second tab
### Tab 3
Content for third tab :::
Animations and Transitions
Examples of animations and transitions:
## Transition Examples
::: {.fragment .fade-in}
This content fades in
:::
::: {.fragment .fade-up}
This content fades up
:::
::: {.fragment .highlight-red}
This content highlights red :::
Slide Backgrounds
Examples of different slide backgrounds:
## Solid Color Background {background-color="#007bff"}
Content on colored background
## Image Background {background-image="/path/to/background.jpg"}
Content on image background
## Gradient Background {background-gradient="linear-gradient(to bottom, #4DA0B0, #D39D38)"}
Content on gradient background
Download Templates
The full template package includes:
- RevealJS presentation template (.qmd)
- Example presentation with comprehensive features
- CSS file with custom styling
- Sample images and assets
Click the buttons below to download the template in your preferred format:
Customization Tips
Here are some tips for customizing your presentations:
- Theme Selection: Choose from built-in themes or create custom CSS
- Color Schemes: Define a consistent color palette that matches your brand
- Typography: Select appropriate fonts for readability and style
- Layouts: Use consistent layouts throughout your presentation
- Images: Use high-quality images with appropriate resolution
- Animation: Use animations purposefully, not just for visual effect
- Branding: Include your logo and branding elements consistently
Additional Resources
For more information on creating presentations with Quarto and RevealJS: