diff --git a/examples/assets/beeping.txt b/assets/beeping.txt similarity index 100% rename from examples/assets/beeping.txt rename to assets/beeping.txt diff --git a/examples/assets/beeping.wav b/assets/beeping.wav similarity index 100% rename from examples/assets/beeping.wav rename to assets/beeping.wav diff --git a/examples/assets/image1.png b/assets/image1.png similarity index 100% rename from examples/assets/image1.png rename to assets/image1.png diff --git a/examples/assets/image2.png b/assets/image2.png similarity index 100% rename from examples/assets/image2.png rename to assets/image2.png diff --git a/examples/500-slides.html b/examples/500-slides.html deleted file mode 100644 index 2270c747912..00000000000 --- a/examples/500-slides.html +++ /dev/null @@ -1,526 +0,0 @@ - - - - - - reveal.js - 500 slides - - - - - - - - -
-
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-

12

-

13

-

14

-

15

-

16

-

17

-

18

-

19

-

20

-

21

-

22

-

23

-

24

-

25

-

26

-

27

-

28

-

29

-

30

-

31

-

32

-

33

-

34

-

35

-

36

-

37

-

38

-

39

-

40

-

41

-

42

-

43

-

44

-

45

-

46

-

47

-

48

-

49

-

50

-

51

-

52

-

53

-

54

-

55

-

56

-

57

-

58

-

59

-

60

-

61

-

62

-

63

-

64

-

65

-

66

-

67

-

68

-

69

-

70

-

71

-

72

-

73

-

74

-

75

-

76

-

77

-

78

-

79

-

80

-

81

-

82

-

83

-

84

-

85

-

86

-

87

-

88

-

89

-

90

-

91

-

92

-

93

-

94

-

95

-

96

-

97

-

98

-

99

-

100

-

101

-

102

-

103

-

104

-

105

-

106

-

107

-

108

-

109

-

110

-

111

-

112

-

113

-

114

-

115

-

116

-

117

-

118

-

119

-

120

-

121

-

122

-

123

-

124

-

125

-

126

-

127

-

128

-

129

-

130

-

131

-

132

-

133

-

134

-

135

-

136

-

137

-

138

-

139

-

140

-

141

-

142

-

143

-

144

-

145

-

146

-

147

-

148

-

149

-

150

-

151

-

152

-

153

-

154

-

155

-

156

-

157

-

158

-

159

-

160

-

161

-

162

-

163

-

164

-

165

-

166

-

167

-

168

-

169

-

170

-

171

-

172

-

173

-

174

-

175

-

176

-

177

-

178

-

179

-

180

-

181

-

182

-

183

-

184

-

185

-

186

-

187

-

188

-

189

-

190

-

191

-

192

-

193

-

194

-

195

-

196

-

197

-

198

-

199

-

200

-

201

-

202

-

203

-

204

-

205

-

206

-

207

-

208

-

209

-

210

-

211

-

212

-

213

-

214

-

215

-

216

-

217

-

218

-

219

-

220

-

221

-

222

-

223

-

224

-

225

-

226

-

227

-

228

-

229

-

230

-

231

-

232

-

233

-

234

-

235

-

236

-

237

-

238

-

239

-

240

-

241

-

242

-

243

-

244

-

245

-

246

-

247

-

248

-

249

-

250

-

251

-

252

-

253

-

254

-

255

-

256

-

257

-

258

-

259

-

260

-

261

-

262

-

263

-

264

-

265

-

266

-

267

-

268

-

269

-

270

-

271

-

272

-

273

-

274

-

275

-

276

-

277

-

278

-

279

-

280

-

281

-

282

-

283

-

284

-

285

-

286

-

287

-

288

-

289

-

290

-

291

-

292

-

293

-

294

-

295

-

296

-

297

-

298

-

299

-

300

-

301

-

302

-

303

-

304

-

305

-

306

-

307

-

308

-

309

-

310

-

311

-

312

-

313

-

314

-

315

-

316

-

317

-

318

-

319

-

320

-

321

-

322

-

323

-

324

-

325

-

326

-

327

-

328

-

329

-

330

-

331

-

332

-

333

-

334

-

335

-

336

-

337

-

338

-

339

-

340

-

341

-

342

-

343

-

344

-

345

-

346

-

347

-

348

-

349

-

350

-

351

-

352

-

353

-

354

-

355

-

356

-

357

-

358

-

359

-

360

-

361

-

362

-

363

-

364

-

365

-

366

-

367

-

368

-

369

-

370

-

371

-

372

-

373

-

374

-

375

-

376

-

377

-

378

-

379

-

380

-

381

-

382

-

383

-

384

-

385

-

386

-

387

-

388

-

389

-

390

-

391

-

392

-

393

-

394

-

395

-

396

-

397

-

398

-

399

-

400

-

401

-

402

-

403

-

404

-

405

-

406

-

407

-

408

-

409

-

410

-

411

-

412

-

413

-

414

-

415

-

416

-

417

-

418

-

419

-

420

-

421

-

422

-

423

-

424

-

425

-

426

-

427

-

428

-

429

-

430

-

431

-

432

-

433

-

434

-

435

-

436

-

437

-

438

-

439

-

440

-

441

-

442

-

443

-

444

-

445

-

446

-

447

-

448

-

449

-

450

-

451

-

452

-

453

-

454

-

455

-

456

-

457

-

458

-

459

-

460

-

461

-

462

-

463

-

464

-

465

-

466

-

467

-

468

-

469

-

470

-

471

-

472

-

473

-

474

-

475

-

476

-

477

-

478

-

479

-

480

-

481

-

482

-

483

-

484

-

485

-

486

-

487

-

488

-

489

-

490

-

491

-

492

-

493

-

494

-

495

-

496

-

497

-

498

-

499

-
-
- - - - - diff --git a/examples/auto-animate.html b/examples/auto-animate.html deleted file mode 100644 index 199810e409a..00000000000 --- a/examples/auto-animate.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - reveal.js - Auto Animate - - - - - - - - - - -
- -
-
-

Auto-Animate Example

-

This will fade out

- -

-						function Example() {
-						  const [count, setCount] = useState(0);
-						}
-					
-
-
-

Auto-Animate Example

-

This will fade out

-

This element is unmatched

- -

-						function Example() {
-						  New line!
-						  const [count, setCount] = useState(0);
-						}
-					
-
- -
-

Line Height & Letter Spacing

-
-
-

Line Height & Letter Spacing

-
- -
-
-

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

-							function Example() {
-							  const [count, setCount] = useState(0);
-
-							  return (
-							    <div>
-							      <p>You clicked {count} times</p>
-							      <button onClick={() => setCount(count + 1)}>
-							        Click me
-							      </button>
-							    </div>
-							  );
-							}
-						
-
-
-

-							function Example() {
-							  // A comment!
-							  const [count, setCount] = useState(0);
-
-							  return (
-							    <div>
-							      <p>You clicked {count} times</p>
-							      <button onClick={() => setCount(count + 1)}>
-							        Click me
-							      </button>
-							    </div>
-							  );
-							}
-						
-
-
- -
-
-

Swapping list items

-
    -
  • One
  • -
  • Two
  • -
  • Three
  • -
-
-
-

Swapping list items

-
    -
  • Two
  • -
  • One
  • -
  • Three
  • -
-
-
-

Swapping list items

-
    -
  • Two
  • -
  • Three
  • -
  • One
  • -
-
-
- -
-

SLIDE 1

-

Animate Anything

-
-
-
-
-
-
-

SLIDE 2

-

With Auto Animate

-
-
-
-
-
-
-

SLIDE 3

-

With Auto Animate

-
-
-
-
-
-
-

SLIDE 3

-

With Auto Animate

-
-
-
-
-
- -
-

data-auto-animate-id="a"

-

A1

-
-
-

data-auto-animate-id="a"

-

A1

-

A2

-
-
-

data-auto-animate-id="b"

-

B1

-
-
-

data-auto-animate-id="b"

-

B1

-

B2

-
- -
-
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
-
-
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
-
-
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
-
-
- Slide 1
- Slide 2
- Slide 3
- Slide 4
-
A
-
-
- -
- -
- - - - - - - diff --git a/examples/backgrounds.html b/examples/backgrounds.html deleted file mode 100644 index 19d40c3463e..00000000000 --- a/examples/backgrounds.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - reveal.js - Slide Backgrounds - - - - - - - - - - -
- -
- -
-

data-background: #00ffff

-
- -
-

data-background: #bb00bb

-
- -
-

data-background: lightblue

-
- -
-
-

data-background: #ff0000

-
-
-

data-background: rgba(0, 0, 0, 0.2)

-
-
-

data-background: salmon

-
-
- -
-
-

Background applied to stack

-
-
-

Background applied to stack

-
-
-

Background applied to slide inside of stack

-
-
- -
-

Background image

-
- -
-
-

Background image

-
-
-

Background image

-
-
- -
-

Background image

-
data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
-
- -
-

Same background twice (1/2)

-
-
-

Same background twice (2/2)

-
- -
-

Video background

-
- -
-

Iframe background

-
- -
-
-

Same background twice vertical (1/2)

-
-
-

Same background twice vertical (2/2)

-
-
- -
-

Same background from horizontal to vertical (1/3)

-
-
-
-

Same background from horizontal to vertical (2/3)

-
-
-

Same background from horizontal to vertical (3/3)

-
-
- -
- -
- - - - - - diff --git a/examples/barebones.html b/examples/barebones.html deleted file mode 100644 index 50adcb86132..00000000000 --- a/examples/barebones.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - reveal.js - Barebones - - - - -
-
- -
-

Barebones Presentation

-

This example contains the bare minimum includes and markup required to run a reveal.js presentation.

-
- -
-

No Theme

-

There's no theme included, so it will fall back on browser defaults.

-
- -
-
- - - - - - diff --git a/examples/layout-helpers.html b/examples/layout-helpers.html deleted file mode 100644 index a129811f3e8..00000000000 --- a/examples/layout-helpers.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - reveal.js - Layout Helpers - - - - - - - - - - -
- -
- -
-

Layout Helper Examples

- -
- -
-

Fit Text

-

Resizes text to be as large as possible within its container.

-

-					  

FIT

-
-
- -
-

FIT

-
- -
-

HELLO WORLD

-

BOTH THESE TITLES USE FIT-TEXT

-
- -
-

Stretch

-

Makes an element as tall as possible while remaining within the slide bounds.

-

-					  

Stretch Example

- -

Image byline

-
-
- -
-

Stretch Example

- -

Image byline

-
- -
-

Stack

-

Stacks multiple elements on top of each other, for use with fragments.

-

-					  
- <img class="fragment" width="450" height="300" src="..."> - <img class="fragment" width="300" height="450" src="..."> - <img class="fragment" width="400" height="400" src="..."> -
-
-
- -
-

Stack Example

-
-

One

-

Two

-

Three

-

Four

-
-
- - - -
-
- -
-

Stack Example

-

fade-in-then-out fragments

-
- - - -
-
- -
-

HStack

-

Stacks multiple elements horizontally.

-

-					  
- <img width="450" height="300" src="..."> - <img width="300" height="450" src="..."> - <img width="400" height="400" src="..."> -
-
-
- -
-

HStack Example

-
-

One

-

Two

-

Three

-
-
- -
-

VStack

-

Stacks multiple elements vertically.

-

-					  
- <img width="450" height="300" src="..."> - <img width="300" height="450" src="..."> - <img width="400" height="400" src="..."> -
-
-
- -
-

VStack Example

-
-

One

-

Two

-

Three

-
-
- -
- -
- - - - - - - diff --git a/examples/math.html b/examples/math.html deleted file mode 100644 index bd2e75a6dfb..00000000000 --- a/examples/math.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - reveal.js - Math Plugin - - - - - - - - - -
- -
- -
-

reveal.js Math Plugin

-

Render math with KaTeX, MathJax 2 or MathJax 3

-
- -
-

The Lorenz Equations

- - \[\begin{aligned} - \dot{x} & = \sigma(y-x) \\ - \dot{y} & = \rho x - y - xz \\ - \dot{z} & = -\beta z + xy - \end{aligned} \] -
- -
-

The Cauchy-Schwarz Inequality

- - -
- -
-

A Cross Product Formula

- - \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} - \mathbf{i} & \mathbf{j} & \mathbf{k} \\ - \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ - \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 - \end{vmatrix} \] -
- -
-

The probability of getting \(k\) heads when flipping \(n\) coins is

- - \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] -
- -
-

An Identity of Ramanujan

- - \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = - 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} - {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] -
- -
-

A Rogers-Ramanujan Identity

- - \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = - \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] -
- -
-

Maxwell’s Equations

- - \[ \begin{aligned} - \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ - \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ - \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} - \] -
- -
-

TeX Macros

- - Here is a common vector space: - \[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 < +\infty}\] - used in functional analysis. -
- -
-
-

The Lorenz Equations

- -
- \[\begin{aligned} - \dot{x} & = \sigma(y-x) \\ - \dot{y} & = \rho x - y - xz \\ - \dot{z} & = -\beta z + xy - \end{aligned} \] -
-
- -
-

The Cauchy-Schwarz Inequality

- -
- \[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \] -
-
- -
-

A Cross Product Formula

- -
- \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} - \mathbf{i} & \mathbf{j} & \mathbf{k} \\ - \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ - \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 - \end{vmatrix} \] -
-
- -
-

The probability of getting \(k\) heads when flipping \(n\) coins is

- -
- \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] -
-
- -
-

An Identity of Ramanujan

- -
- \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = - 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} - {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] -
-
- -
-

A Rogers-Ramanujan Identity

- -
- \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = - \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] -
-
- -
-

Maxwell’s Equations

- -
- \[ \begin{aligned} - \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ - \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ - \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} - \] -
-
- -
-

TeX Macros

- - Here is a common vector space: - \[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 < +\infty}\] - used in functional analysis. -
-
- -
- -
- - - - - - - diff --git a/examples/media.html b/examples/media.html deleted file mode 100644 index 388208f8091..00000000000 --- a/examples/media.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - reveal.js - Video, Audio and Iframes - - - - - - - - - -
- -
- -
-

Examples of embedded Video, Audio and Iframes

-
- -
-

Iframe

- -
- -
-

Iframe Background

-
- -
-

Video

- -
- -
-

Background Video

-
- -
-

Auto-playing audio

- -
- -
-

Audio inside slide fragments

-
- Beep 1 - -
-
- Beep 2 - -
-
- -
-

Audio with controls

- -
- -
- -
- - - - - - diff --git a/examples/multiple-presentations.html b/examples/multiple-presentations.html deleted file mode 100644 index e5347d4a25c..00000000000 --- a/examples/multiple-presentations.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - reveal.js - Multiple Presentations - - - - - - - - - - -
-
-
-
Deck 1, Slide 1
-
Deck 1, Slide 2
-
-

-							import React, { useState } from 'react';
-							function Example() {
-							  const [count, setCount] = useState(0);
-							}
-						
-
-
-
- -
-
-
Deck 2, Slide 1
-
Deck 2, Slide 2
-
- -
-
-

The Lorenz Equations

- - \[\begin{aligned} - \dot{x} & = \sigma(y-x) \\ - \dot{y} & = \rho x - y - xz \\ - \dot{z} & = -\beta z + xy - \end{aligned} \] -
-
-
-
- - - - - - - - - - - diff --git a/examples/scroll.html b/examples/scroll.html deleted file mode 100644 index c87903ccbae..00000000000 --- a/examples/scroll.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - reveal.js - Scroll View - - - - - - - - - - - -
- -
- -

Scroll View

-
-

Scroll triggered fragments

-
    -
  • Step one
  • -
  • Step two
  • -
  • Step three
  • -
-
-

Scrollbar inverts
based on slide bg

-
-

Auto-Animate

-

Scroll triggered auto-animations 😍

-
-
-
-
-
-
-
-
-
-
-
-
-

Auto-Animate

-
-
-
-
-
-
-
-

Auto-Animate

-
-
-

Code highlights,
meet scroll triggers

-
-
-
-
-

Image Backgrounds

-
-
-

Video background

-
-
-

The end

- -
- -
- - - - - - - - - diff --git a/examples/transitions.html b/examples/transitions.html deleted file mode 100644 index adbfd150e72..00000000000 --- a/examples/transitions.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - reveal.js - Slide Transitions - - - - - - - - -
- -
- -
-

Default

-
- -
-

Default

-
- -
-

data-transition: zoom

-
- -
-

data-transition: zoom-in fade-out

-
- -
-

Default

-
- -
-

data-transition: convex

-
- -
-

data-transition: convex-in concave-out

-
- -
-
-

Default

-
-
-

data-transition: concave

-
-
-

data-transition: convex-in fade-out

-
-
-

Default

-
-
- -
-

data-transition: none

-
- -
-

Default

-
- -
- -
- - - - - - diff --git a/gulpfile.js b/gulpfile.js index 003616e2ee0..561afa0558e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -273,8 +273,9 @@ gulp.task('package', gulp.series(() => './index.html', './dist/**', './lib/**', - './images/**', + './assets/**', './plugin/**', + './presentations/**', './**/*.md' ], { base: './' } diff --git a/index.html b/index.html index 2097df32e21..720070d5892 100644 --- a/index.html +++ b/index.html @@ -14,12 +14,8 @@ -
-
-
Slide 1
-
Slide 2
-
-
+ + Markdown Example diff --git a/package.json b/package.json index bb2105c22f6..60caf17e1bd 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,10 @@ "module": "dist/reveal.esm.js", "license": "MIT", "scripts": { - "test": "gulp test", - "start": "gulp serve", - "build": "gulp build" + "test": "./node_modules/gulp/bin/gulp.js test", + "start": "./node_modules/gulp/bin/gulp.js serve", + "build": "./node_modules/gulp/bin/gulp.js build", + "package": "./node_modules/gulp/bin/gulp.js package" }, "author": { "name": "Hakim El Hattab", diff --git a/examples/markdown.html b/presentations/large-language-models/markdown.html similarity index 90% rename from examples/markdown.html rename to presentations/large-language-models/markdown.html index 4d69f052a95..950cb8f6984 100644 --- a/examples/markdown.html +++ b/presentations/large-language-models/markdown.html @@ -6,10 +6,10 @@ reveal.js - Markdown Example - - + + - + @@ -138,11 +138,11 @@ - - - - - + + + + +