Department of
A design made with ❤️ for
SNUPHEL Members
Today:
Session:
Use spacebar to navigate to ensure you don't miss vertical slides.
This presentation uses vertical slides - look for the down arrow ↓
Try pressing 'O' now to see the overview of all slides
Reveal.js logo
| Feature | PowerPoint | Google Slides | LaTeX Beamer | Reveal.js |
|---|---|---|---|---|
| Cross-platform | Partial | Yes | Yes | Yes |
| Version Control | Limited | Limited | Good | Excellent |
| Web Publishing | Limited | Good | Limited | Excellent |
| Interactive Elements | Limited | Limited | Poor | Excellent |
| Customizability | Moderate | Limited | Good | Excellent |
Comparison of presentation platforms for academic use
Example of Reveal.js presenter view
Example equation:
$$E = mc^2$$
$$\frac{d}{dx}\left( \int_{a}^{x} f(u)\,du\right)=f(x)$$
Einstein's theory of relativity and the Fundamental Theorem of Calculus
| Feature | HTML | Markdown |
|---|---|---|
| Headers | <h1>...</h1> | # Header |
| Lists | <ul><li>...</li></ul> | * Item |
| Links | <a href="...">...</a> | [text](url) |
| Images | <img src="..." alt="..."> |  |
| Code | <pre><code>...</code></pre> | ```lang code``` |
Write slides in Markdown for faster content creation
<section data-markdown>
<textarea data-template>
# Slide Title
* Bullet point 1
* Bullet point 2
---
## Next Slide
```javascript
let code = "highlighted";
```
</textarea>
</section>
// Initialize Reveal.js with options
Reveal.initialize({
hash: true,
slideNumber: true,
progress: true,
// Transition style
transition: 'slide',
// More configuration options...
plugins: [ RevealMarkdown, RevealHighlight ]
});
Example of code highlighting with line numbers
<iframe
src="https://example.com"
width="600"
height="400">
</iframe>
<video
data-autoplay
src="path/to/video.mp4"
controls
></video>
Example of embedded video in Reveal.js
Example of Chart.js integration
flowchart LR
%% Define a reusable class for consistent styling
classDef common fill:#e0e0ff,stroke:#4b0082,stroke-width:1px,color:#000080;
subgraph "Your Computer"
direction TB
client["Host with MCP Client
(Claude, IDEs, Tools)"]:::common
subgraph "MCP Servers"
direction LR
A["MCP Server A"]:::common --> DataA[(Local Data Source A)]:::common
B["MCP Server B"]:::common --> DataB[(Local Data Source B)]:::common
C["MCP Server C"]:::common --> Web[(Web APIs)]:::common
end
end
subgraph Internet
Remote[(Remote Service C)]:::common
end
client -->|MCP Protocol| A
client -->|MCP Protocol| B
client -->|MCP Protocol| C
DataA --> A
DataB --> B
Web --> Remote
MCP architecture overview
Ground truth VS 3DGS rendered novel view (2023)
npm installnpm start
# Clone the repository
git clone https://github.com/phasheen/revealjs-snuphel
# Navigate to the directory
cd revealjs-snuphel
# Install dependencies
npm install
# Start the development server
npm start
<section> element<aside class="notes"><section>
<h2>Slide Title</h2>
<ul>
<li>Bullet point 1</li>
<li>Bullet point 2</li>
</ul>
<aside class="notes">
Speaker notes here
</aside>
</section>
custom/custom-scripts.js to update presenter infocustom/custom-styles.css// In custom-scripts.js
const presenterName = "Your Name";
const presenterDepartment = "Your Department";
const presenterUniversity = "Your University";
const presenterEmail = "[email protected]";
const sessionName = "Your Presentation Title";
/* In custom-styles.css */
:root {
--theme-color: #2a76dd; /* Change this color */
--theme-color-transparent-10: rgba(42, 118, 221, 0.1);
}
<ul>
<li class="fragment fade-in">fade-in</li>
<li class="fragment fade-up">fade-up</li>
<li class="fragment fade-down">fade-down</li>
<li class="fragment fade-left">fade-left</li>
<li class="fragment fade-right">fade-right</li>
</ul>
The red blue green fragments.
grow
shrink
strike
fade-out
gulp to create a production buildhttp://localhost:8000/?print-pdf
https://localhost:8000/#/2/3
GitHub Pages deployment overview
# Initialize git in your project folder
git init
# Add all files
git add .
# Commit the changes
git commit -m "Initial commit of my presentation"
# Add remote repository
git remote add origin https://github.com/username/my-presentation.git
# Push to GitHub
git push -u origin main
.github/workflows/github-pages.yml
name: Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
flowchart LR %% Style definitions classDef local fill:#f5f5f5,stroke:#333,stroke-width:1px,stroke-dasharray:5 5 classDef githubRepo fill:#e0f7fa,stroke:#0288d1,stroke-width:1px classDef trigger fill:#fff3e0,stroke:#fb8c00,stroke-width:1px classDef job fill:#e8f5e9,stroke:#2e7d32,stroke-width:1px classDef pages fill:#ede7f6,stroke:#5e35b1,stroke-width:1px classDef user fill:#e8f5e9,stroke:#33691e,stroke-width:1px subgraph "Local Development" direction TB A1["Edit slides (MD/HTML)"]:::local A2["Preview locally (live server)"]:::local A3["Commit & push to origin/main"]:::local A1 --> A2 --> A3 end subgraph "GitHub Repository & Triggers" direction TB B1["Repo: revealjs-demo (main)"]:::githubRepo B2["Event: push/pull_request"]:::trigger B1 --> B2 end subgraph "GitHub Actions Workflow" direction LR T1["Checkout code and setup"]:::job T2["Build and test"]:::job T3["Deploy to gh-pages"]:::job T4["Cleanup workspace"]:::job B2 --> T1 --> T2 --> T3 --> T4 end subgraph "Publishing" direction TB B3["Branch: gh-pages"]:::githubRepo T3 --> B3 P["GitHub Pages site"]:::pages B3 --> P --> U["👀 Viewers"]:::user end %% Layout hint for 16:9 class Local_Development,Github_Repository_Triggers,GitHub_Actions_Workflow,Publishing internal;
GitHub Pages automatic deployment workflow
Questions?
Tool Citation: Reveal.js: https://github.com/hakimel/reveal.js.
This presentation was created with reveal.js, an HTML presentation framework.