Skip to content

DHEPLab/DHEPlab-prez-template-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DHEPlab Presentation Template 2025

A professional Quarto reveal.js presentation template for the Digital Health and Evaluation Lab (DHEPlab) with UNC Chapel Hill branding, featuring interactive elements, bibliography support, and easy deployment options.

๐Ÿš€ Quick Start

Prerequisites

  • Quarto (v1.3 or later)
  • Git (for version control and GitHub Pages deployment)
  • A text editor (VS Code, RStudio, etc.)

Installation

# Clone this repository
git clone https://github.com/your-username/DHEPlab-prez-template-2025.git
cd DHEPlab-prez-template-2025

# Preview the template
quarto preview template.qmd

๐Ÿ“ Repository Structure

DHEPlab-prez-template-2025/
โ”œโ”€โ”€ images/                    # Shared images directory
โ”‚   โ””โ”€โ”€ dhep-logo-2.png       # DHEPlab logo
โ”œโ”€โ”€ styles.scss               # Shared styles (UNC branding)
โ”œโ”€โ”€ references.bib            # Shared bibliography
โ”œโ”€โ”€ template.qmd              # Base presentation template
โ”œโ”€โ”€ presentation-1.qmd        # Example presentation 1
โ”œโ”€โ”€ presentation-2.qmd        # Example presentation 2
โ”œโ”€โ”€ CLAUDE.md                 # AI assistance guide
โ”œโ”€โ”€ .gitignore               # Git ignore rules
โ”œโ”€โ”€ _publish.yml             # GitHub Pages config
โ””โ”€โ”€ README.md                # This file

๐ŸŽจ Features

Presentation Features

  • ๐ŸŽฏ UNC Chapel Hill Branding: Professional color scheme and typography
  • ๐Ÿ“Š Interactive Slides: Built on reveal.js framework
  • ๐Ÿ“ Speaker Notes: Press S during presentation
  • ๐Ÿ–Š๏ธ Chalkboard: Press C to annotate slides
  • ๐Ÿ” Search: Full-text search functionality
  • ๐Ÿ“š Bibliography: Automatic citation management
  • ๐Ÿงฎ Math Support: LaTeX equations
  • ๐Ÿ“ˆ Mermaid Diagrams: Flowcharts and diagrams
  • ๐Ÿ’ป Code Highlighting: Syntax highlighting for multiple languages

Style Features

  • H1: Large Carolina Blue headers
  • H2: Orange underline accent
  • H3: Special orange formatting with underline (NEW!)
  • H4: Navy blue headers
  • Professional tables, blockquotes, and code blocks
  • DHEP logo positioning options

๐Ÿ“ Creating a New Presentation

Option 1: Single Presentation

# Copy the template
cp template.qmd my-presentation.qmd

# Edit your presentation
# Update title, author, date, and content

# Preview your presentation
quarto preview my-presentation.qmd

# Render to HTML
quarto render my-presentation.qmd

Option 2: Multiple Presentations in Same Repository

This template is designed to support multiple presentations sharing resources:

  1. Create your presentation file:

    cp template.qmd conference-talk-2025.qmd
    cp template.qmd workshop-june-2025.qmd
  2. All presentations automatically share:

    • styles.scss - Consistent branding
    • images/ - Logos and graphics
    • references.bib - Bibliography
  3. Benefits:

    • Consistent branding across all presentations
    • Single source of truth for logos/images
    • Shared bibliography for citations
    • Easy deployment of multiple talks

๐Ÿ–ผ๏ธ Managing Shared Resources

Images

Place all images in the images/ directory:

![Description](images/your-image.png)

Adding Custom Styles

Edit styles.scss to modify colors or add new styles. All presentations will automatically use updated styles.

Bibliography

Add references to references.bib:

@article{YourRef2025,
  author = {Last, First},
  title = {Title},
  journal = {Journal Name},
  year = {2025}
}

Cite in your presentation:

According to recent research [@YourRef2025]...

๐ŸŒ GitHub Pages Deployment

Manual Deployment

  1. First-time setup:

    # Create gh-pages branch
    git checkout -b gh-pages
    git checkout main
  2. Deploy a presentation:

    # Render your presentation
    quarto render my-presentation.qmd
    
    # Publish to GitHub Pages
    quarto publish gh-pages my-presentation.qmd
  3. Access your presentation:

    • URL: https://[username].github.io/DHEPlab-prez-template-2025/my-presentation.html

Automated Deployment (GitHub Actions)

  1. Enable GitHub Pages:

    • Go to Settings โ†’ Pages
    • Source: Deploy from a branch
    • Branch: gh-pages / /(root)
  2. Push to trigger deployment:

    git add .
    git commit -m "Update presentation"
    git push origin main
  3. Multiple presentations:

    • Each .qmd file becomes a separate HTML page
    • Access via: https://[username].github.io/DHEPlab-prez-template-2025/[presentation-name].html

Creating an Index Page

For multiple presentations, create index.qmd:

---
title: "DHEPlab Presentations"
format: html
---

## Available Presentations

- [Conference Talk 2025](conference-talk-2025.html)
- [Workshop June 2025](workshop-june-2025.html)
- [Research Seminar](research-seminar.html)

โŒจ๏ธ Keyboard Shortcuts

During presentation:

  • โ†’/โ†: Navigate slides
  • Space: Next slide
  • Shift+Space: Previous slide
  • Esc: Slide overview
  • F: Fullscreen
  • S: Speaker notes view
  • C: Chalkboard mode
  • B: Blackout
  • ?: Show all shortcuts

๐ŸŽฏ Logo Positioning

Add logo to specific slides:

<div class="logo-top-right">
  <div class="dhep-logo"></div>
</div>

Available positions:

  • .logo-top-right
  • .logo-top-left
  • .logo-bottom-right

๐Ÿ› ๏ธ Customization Guide

Changing Colors

Edit styles.scss:

// Replace with your brand colors
$primary-color: #YourColor;
$secondary-color: #YourColor;

Modifying Templates

  1. Edit YAML header for metadata
  2. Update footer text
  3. Replace logo in images/
  4. Adjust styles in styles.scss

Adding Plugins

In your .qmd file:

revealjs-plugins:
  - plugin-name

๐Ÿ“š Best Practices

  1. Keep slides concise: Use speaker notes for details
  2. Use consistent formatting: Follow the style guide
  3. Test before presenting: Check all features work
  4. Version control: Commit regularly
  5. Share resources: Use the shared directories

๐Ÿค– AI Assistance

See CLAUDE.md for tips on using AI tools with this template.

๐Ÿ“„ License

This template is provided by DHEPlab for academic and research use.

๐Ÿ†˜ Troubleshooting

Common Issues

  1. Slides not rendering: Check Quarto installation
  2. Logo not showing: Verify image path
  3. Citations not working: Check .bib file format
  4. Deployment fails: Ensure GitHub Pages is enabled

Getting Help


Created with โค๏ธ by DHEPlab | University of North Carolina at Chapel Hill

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published