From be44243136d710eec0345f8459a64da377bab357 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sun, 29 Mar 2026 13:43:38 +0200 Subject: Re-format reveal.js slides and add templates --- reveal.js/demo.html | 443 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 331 insertions(+), 112 deletions(-) (limited to 'reveal.js/demo.html') diff --git a/reveal.js/demo.html b/reveal.js/demo.html index 39b014d..20ed6cd 100644 --- a/reveal.js/demo.html +++ b/reveal.js/demo.html @@ -1,47 +1,58 @@ - + - - + reveal.js – The HTML Presentation Framework - - + + - - + + - + - - - + + + - + -
-
- +

The HTML Presentation Framework

- Created by Hakim El Hattab and contributors + Created by Hakim El Hattab and + contributors

Hello There

- reveal.js enables you to create beautiful interactive slide decks using HTML. This presentation will show you examples of what it can do. + reveal.js enables you to create beautiful interactive slide decks using HTML. This + presentation will show you examples of what it can do.

@@ -51,21 +62,38 @@

Vertical Slides

Slides can be nested inside of each other.

Use the Space key to navigate through all slides.

-
+
- Down arrow + Down arrow

Basement Level 1

-

Nested slides are useful for adding additional detail underneath a high level horizontal slide.

+

+ Nested slides are useful for adding additional detail underneath a high level + horizontal slide. +

Basement Level 2

That's it, time to go back up.

-
+
- Up arrow + Up arrow
@@ -73,37 +101,46 @@

Slides

- Not a coder? Not a problem. There's a fully-featured visual editor for authoring these, try it out at https://slides.com. + Not a coder? Not a problem. There's a fully-featured visual editor for authoring these, + try it out at https://slides.com.

Hidden Slides

- This slide is visible in the source, but hidden when the presentation is viewed. You can show all hidden slides by setting the `showHiddenSlides` config option to `true`. + This slide is visible in the source, but hidden when the presentation is viewed. You can + show all hidden slides by setting the `showHiddenSlides` config option to `true`.

Pretty Code


-						import React, { useState } from 'react';
+						import { useState } from 'react';
 
 						function Example() {
 						  const [count, setCount] = useState(0);
 
 						  return (
-						    ...
+
+							  ...
+
 						  );
 						}
 					
-

Code syntax highlighting courtesy of highlight.js.

+

+ Code syntax highlighting courtesy of + highlight.js. +

-

With animations

-

 				
+
+

Lightbox

+ Turn any element into a lightbox using data‑preview‑image & data‑preview‑video. +
+
+

+								<img src="image.png" data-preview-image="image.png">
+							
+ +
+
+

+								<img src="video.png" data-preview-video="video.mp4">
+							
+ +
+
+
+

Add the r-fit-text class to auto-size text

FIT TEXT

@@ -207,7 +295,10 @@

Fragments

Hit the next arrow...

... to step through ...

-

... a fragmented slide.

+

+ ... a fragmented + slide. +

Transition Styles

- You can select from different transitions, like:
+ You can select from different transitions, like:
None - Fade - Slide - @@ -247,19 +342,73 @@

Themes

- reveal.js comes with a few themes built in:
+ reveal.js comes with a few themes built in:
- Black (default) - - White - - League - - Sky - - Beige - - Simple
- Serif - - Blood - - Night - - Moon - - Solarized + Black (default) + - + White + - + League + - + Sky + - + Beige + - + Simple +
+ Serif + - + Blood + - + Night + - + Moon + - + Solarized

@@ -267,10 +416,18 @@

Slide Backgrounds

- Set data-background="#dddddd" on a slide to change the background color. All CSS color formats are supported. + Set data-background="#dddddd" on a slide to change the background color. + All CSS color formats are supported.

- Down arrow + Down arrow
@@ -282,12 +439,19 @@

Image Backgrounds

<section data-background="image.png">
-
+

Tiled Backgrounds

<section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">
-
-
+
+

Video Backgrounds

<section data-background-video="video.mp4,video.webm">
@@ -297,26 +461,48 @@
-
+

Background Transitions

- Different background transitions are available via the backgroundTransition option. This one's called "zoom". + Different background transitions are available via the backgroundTransition option. This + one's called "zoom".

Reveal.configure({ backgroundTransition: 'zoom' })
-
+

Background Transitions

-

- You can override background transitions per-slide. -

+

You can override background transitions per-slide.

<section data-background-transition="zoom">
-
+

Iframe Backgrounds

-

Since reveal.js runs on the web, you can easily embed other web content. Try interacting with the page in the background.

+

+ Since reveal.js runs on the web, you can easily embed other web content. Try + interacting with the page in the background. +

@@ -372,11 +558,19 @@

Clever Quotes

- These guys come in two forms, inline: The nice thing about standards is that there are so many to choose from and block: + These guys come in two forms, inline: + The nice thing about standards is that there are so many to choose from + and block:

-
- “For years there has been a theory that millions of monkeys typing at random on millions of typewriters would - reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.” +
+ “For years there has been a theory that millions of monkeys typing at random on + millions of typewriters would reproduce the entire works of Shakespeare. The Internet + has proven this theory to be untrue.”
@@ -390,18 +584,36 @@

Speaker View

-

There's a speaker view. It includes a timer, preview of the upcoming slide as well as your speaker notes.

+

+ There's a speaker view. It includes a + timer, preview of the upcoming slide as well as your speaker notes. +

Press the S key to try it out.

Export to PDF

-

Presentations can be exported to PDF, here's an example:

- +

+ Presentations can be exported to PDF, + here's an example: +

+
@@ -416,7 +628,8 @@

State Events

- Additionally custom events can be triggered on a per slide basis by binding to the data-state name. + Additionally custom events can be triggered on a per slide basis by binding to the + data-state name.


 Reveal.on( 'customevent', function() {
@@ -428,7 +641,8 @@ Reveal.on( 'customevent', function() {
 				

Take a Moment

- Press B or . on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen. + Press B or . on your keyboard to pause the presentation. This is helpful when you're on + stage and want to take distracting slides off the screen.

@@ -438,33 +652,40 @@ Reveal.on( 'customevent', function() {
  • Right-to-left support
  • Extensive JavaScript API
  • Auto-progression
  • -
  • Parallax backgrounds
  • +
  • + Parallax backgrounds +
  • Custom keyboard bindings
  • -
    +

    THE END

    - - Try the online editor
    + - Try the online editor
    - Source code & documentation

    -
    -
    - - - - - + + + + + - -- cgit v1.3