Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1254 commits
Select commit Hold shift + click to select a range
ec4eeab
fix selector constant
bouzidanas Feb 5, 2024
50580c3
add comment for background fix
bouzidanas Feb 5, 2024
67b5ec1
Merge pull request #3568 from bouzidanas/master
hakimel Feb 5, 2024
18ec38a
tweaks for #3568
hakimel Feb 5, 2024
0951ce2
add F1 key to toggleHelp for non-english keyyboards
gchriz Feb 5, 2024
f149d1f
Merge pull request #3570 from gchriz/toggleHelp
hakimel Feb 6, 2024
66fa435
indentation tweak
hakimel Feb 26, 2024
8efd7af
fix fragment events not firing in scroll view + add tests #3580
hakimel Feb 26, 2024
9d4b436
5.0.5
hakimel Feb 26, 2024
2927be3
new .enter-fullscreen class lets you add shortcuts to fullscreen mode
hakimel Feb 28, 2024
63e0a37
fix broken backwards navigation in rtl mode
hakimel Mar 6, 2024
6ef138b
dont prevent swipe navigation on video backgrounds #3584
hakimel Mar 7, 2024
a29a9c7
allow same background video to continue playing across multiple slide…
hakimel Mar 8, 2024
1748a55
don't restart media when it's already playing #2882
hakimel Mar 11, 2024
76ec60a
fix issue when disabling autoPlay config flag at runtime
hakimel Mar 11, 2024
62b1ea3
don't start video bgs if autoPlayMedia config is set to false
hakimel Mar 11, 2024
421da63
fix previous bg video playing in background
hakimel Mar 12, 2024
488c5c8
fix rtl prev/next navigation on slides with fragments
hakimel Mar 13, 2024
2fb4b46
Notes: don't error on non-string message
NatKarmios Mar 14, 2024
d4e5c39
Merge pull request #3588 from NatKarmios/notes-error-catch
hakimel Mar 15, 2024
924bdb6
fix vertical swipe navigation not blocking page scrolling in embedded…
hakimel Mar 19, 2024
0799c8f
fix exception when destroying uninitialized reveal instance (closes #…
hakimel Mar 22, 2024
19c1bca
MathJax3: allow non-singleton Reveal instance
jokester Mar 23, 2024
334abff
Merge pull request #3595 from jokester/mathjax3-fix-for-multiple-inst…
hakimel Mar 23, 2024
e234478
fix r-stack with `grid-template-rows: 100%;`
alifeee Mar 24, 2024
1642546
update build
alifeee Mar 24, 2024
ade5309
Merge pull request #3598 from alifeee/fix/r-stack-chrome
hakimel Mar 25, 2024
62297e6
nil check slides before running auto-animate transition #3592
hakimel Mar 25, 2024
6410c75
auto-animate demo tweak
hakimel Mar 25, 2024
1cc0256
Add github action to codespell master on push and PRs
yarikoptic Mar 29, 2024
f9cf4f5
Add rudimentary codespell config
yarikoptic Mar 29, 2024
e8ddb10
Adjust codespell config to minimize false positives etc
yarikoptic Mar 29, 2024
091fede
[DATALAD RUNCMD] Do interactive fixing of leftover ambigous typos
yarikoptic Mar 29, 2024
e0bc3f7
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
yarikoptic Mar 29, 2024
092a34b
Re-add question mark for help
lechten Apr 1, 2024
dab6ef6
Merge pull request #3603 from lechten/fix-help
hakimel Apr 9, 2024
6b8c64f
5.1.0
hakimel Apr 11, 2024
2d273bf
Fix escape before comma in regex is redundant
robvdl Apr 30, 2024
ab760ba
Fix typo in jsdoc: presentation
robvdl Apr 30, 2024
15d9b65
Merge pull request #3618 from wainuiomata/regex-redundant-escape
hakimel May 15, 2024
7cab93b
Merge pull request #3620 from wainuiomata/typos
hakimel May 15, 2024
4725350
only destroy if reveal instance is ready, don't proceed with initiali…
hakimel May 15, 2024
2dcbf27
Extend search API
lechten Sep 29, 2024
669cc25
Merge pull request #3685 from lechten/extend-search-API
hakimel Sep 30, 2024
8e58d1b
scroll demo tweak
hakimel Oct 11, 2024
b8bb94f
upgrade to gulp 5.0, latest sass, & node-qunit-puppeteer #3608
hakimel Oct 11, 2024
8d7b03c
fix two npm audit warnings
hakimel Oct 11, 2024
95946b4
autoplay muted background videos in speaker view #1037
hakimel Oct 21, 2024
96ca819
fix gulp package #3693
hakimel Oct 25, 2024
16ac4b0
prevent double-initialization #3696
hakimel Oct 25, 2024
c9ad332
gulp package: fixing encoding after updating to gulp 5
dennybiasiolli Oct 22, 2024
a6417ae
Merge pull request #3701 from dennybiasiolli/fixing-gulp-package
hakimel Oct 29, 2024
f979ff6
fix bug where hiding all except 1 slide in a stack caused controls to…
hakimel Oct 29, 2024
5a275f2
don't parse math equations in code blocks
hakimel Nov 11, 2024
fe4a6e8
fix last slide not triggering slidechange in scroll view (closes #3715)
hakimel Nov 11, 2024
0d02d8a
default mathjax config now ignores code tags
hakimel Nov 18, 2024
6dea2a5
auto-animate no longer skips matching fragments on adjacent slides
hakimel Nov 28, 2024
e15cf92
update specs for 6dea2a50941bf3be6824b3eadc5cb17feb87eb5b
hakimel Nov 28, 2024
3751715
Add controls: 'speaker-only' option
gpotter2 Jan 11, 2025
6527f4d
Merge pull request #3716 from gpotter2/controls-for-speaker
hakimel Jan 13, 2025
983c624
update controls comment to match other prop descriptions
hakimel Jan 13, 2025
31ba65c
refactored overlays; new icons and reduced selector specificity
hakimel Jan 24, 2025
6cebb77
switch to dvh for reveal.js height, fixes issue with presentations no…
hakimel Jan 24, 2025
3ceac94
remove outdated ff bug fix
hakimel Jan 29, 2025
0524ae8
further refinements to overlay styles
hakimel Jan 29, 2025
1b2c39a
add support image/video lightbox via data-preview-image/video, move o…
hakimel Jan 31, 2025
8f19e13
fix: bump 2 deps to patch security vulnerabilities
KlavierCat Jan 31, 2025
087eed8
overlay mode refactoring
hakimel Feb 5, 2025
0950590
more flexible styling system for overlays
hakimel Feb 5, 2025
9af726b
brief transition for overlay
hakimel Feb 17, 2025
fe67bad
.overlay -> .r-overlay to reduce risk of conflict, move overlay up to…
hakimel Feb 17, 2025
2059d38
dispatch event when showing lightbox or help overlay
hakimel Feb 20, 2025
36daed9
update readme
hakimel Mar 14, 2025
9c6bd42
Merge pull request #3744 from KlavierCat/fix-security-vulnerability
hakimel Mar 19, 2025
60401a2
npm audit fix
hakimel Mar 19, 2025
255d55a
Merge pull request #3602 from yarikoptic/enh-codespell
hakimel Mar 19, 2025
e745684
spelling fix
hakimel Mar 19, 2025
657543a
rename actions
hakimel Mar 19, 2025
2ac0566
dont restart background video when it hasn't changed (fixes #3633)
hakimel Mar 19, 2025
659472f
rebuild math plugin
hakimel Mar 19, 2025
a7b4bb4
fix css help overlay css conflict
hakimel Mar 19, 2025
d5d292f
config tweak for lightbox demo
hakimel Mar 19, 2025
f11812e
fix theme css conflict
hakimel Mar 19, 2025
edb69c8
update version to 5.2.0
hakimel Mar 19, 2025
b3fd27d
prevent default keyboard shortcuts while overlay is open #3766 #3767
hakimel Mar 20, 2025
94716f9
add support for data-preview-link on any element type (prev only a)
hakimel Mar 20, 2025
47ee25d
build assets
hakimel Mar 20, 2025
1e0a2a7
fix pause overlay
tobi-or-not-tobi Mar 21, 2025
198e206
build files
tobi-or-not-tobi Mar 21, 2025
7a62643
z-index
tobi-or-not-tobi Mar 21, 2025
0121173
fix z-index
tobi-or-not-tobi Mar 24, 2025
5c77e86
Merge pull request #3768 from tobi-or-not-tobi/fix/move-pause-overlay…
hakimel Mar 24, 2025
9f7256f
Allow users to use meta keys when navigating to preview links
tobi-or-not-tobi Mar 25, 2025
ac4064b
Merge pull request #3776 from tobi-or-not-tobi/feature/shift-click-pr…
hakimel Mar 25, 2025
aa9dfc7
sync lightbox between speaker/main window (fixes #3771)
hakimel Mar 25, 2025
1923a5c
lightbox refactor
hakimel Mar 25, 2025
722b14b
reduce lightbox header in small windows
hakimel Mar 25, 2025
9612f7b
open the active slide from the overview screen on enter key event
tobi-or-not-tobi Mar 25, 2025
2f76a34
add lightbox example to demo deck
hakimel Mar 26, 2025
7e96e9c
dont show lightboxes over upcoming slide in speaker view
hakimel Mar 28, 2025
25e52e2
release 5.2.1
hakimel Mar 28, 2025
70daf8f
Merge branch 'master' into feature/open-active-slide-on-enter
hakimel Mar 28, 2025
23926ed
Merge pull request #3778 from tobi-or-not-tobi/feature/open-active-sl…
hakimel Mar 28, 2025
b03a94c
distinct active/hover state difference in overview mode #3780
hakimel Mar 28, 2025
dfc5690
add missing font to dracula theme, fixes #3781
hakimel Mar 28, 2025
eb95b14
overview mode: fix missing thumbs in adjacent stacks with over 10 ver…
hakimel Apr 28, 2025
a89af36
switch from gulp to vite to build, add types for reveal.js config
hakimel Mar 28, 2024
41cca8e
vite theme build
hakimel Oct 17, 2024
a03788b
run qunit test suite without gulp
hakimel Oct 17, 2024
e9ca76c
drop all gulp dependencies
hakimel Oct 17, 2024
d319501
remove outdated font fallback formats
hakimel Oct 18, 2024
22a23e4
rebuild
hakimel Oct 18, 2024
d712c14
bake font into themes, fix broken test, switch tests to mjs
hakimel Oct 18, 2024
900bdd4
update all dependencies
hakimel Oct 18, 2024
294d7c2
setup prettier (not applied until closer to merge)
hakimel Nov 1, 2024
94a86f4
refactored all themes to latest sass syntax, fixes deprecation warnings
hakimel Nov 5, 2024
faf8fb9
prettier config, format files
hakimel Nov 5, 2024
ce890a6
format main html files
hakimel Nov 5, 2024
7fff2f5
fix and format examples decks
hakimel Nov 5, 2024
f8a33e1
rebuild assets and fix issues after master rebase
hakimel Nov 6, 2024
1b075c8
refactored tests
hakimel Nov 6, 2024
659303e
audit fix and rebuild after merge
hakimel Feb 18, 2025
ad2a206
dep upgrades
hakimel Apr 27, 2025
3ee52e1
ignore dist in spellcheck
hakimel Apr 27, 2025
53855d4
rebase and rebuild
hakimel May 9, 2025
18c9cc5
fix bad imports in examples, add codespell skip list to action
hakimel May 9, 2025
7103c20
one more attempt at excluding dist from codespell
hakimel May 9, 2025
3d76253
remove source sans from themes where it isn't used
hakimel May 22, 2025
6e98988
content tweak for demo
hakimel May 22, 2025
4506894
initial work on zip packaging task
hakimel May 22, 2025
c330bb3
dependency update
hakimel Jun 8, 2025
2cba3fb
update 'npm run package' task to also swap out dynamic imports for st…
hakimel Jun 8, 2025
a413083
migrated utils to ts, exclude filendings in imports
hakimel Jun 8, 2025
2fd7f83
chore: ignoring node_modules in codespell
manuelarte Jul 11, 2025
8003efe
feat: support important property
phwebi Aug 4, 2025
5412639
accessibility improvements; announce img/video alt tags, punctuate sc…
hakimel Aug 5, 2025
906a949
Add MathJax4 plugin with async startup support
Khlick Aug 8, 2025
7fd9de4
Add MathJax4 support and tests
Khlick Aug 8, 2025
6e8d377
Feature: Add MathJax 4 support (async startup)
Khlick Aug 8, 2025
3ff7368
Feature: MathJax 4 Support, cleaned dev markup, built math plugin min…
Khlick Aug 8, 2025
b502bb6
Merge branch 'master' into chore/remove-node-modules-codespell
manuelarte Aug 18, 2025
fa8ec17
c year
hakimel Aug 26, 2025
bb07b97
in progress types
hakimel Aug 26, 2025
e8cd04d
fix bug where multiple videos started simultaneously sometimes failed…
hakimel Aug 26, 2025
4cf1849
Merge pull request #3810 from phwebi/update-display-config
hakimel Aug 28, 2025
5e7848f
Merge branch 'hakimel:master' into chore/remove-node-modules-codespell
manuelarte Sep 1, 2025
1427059
fix initial video autoplay not working in android
hakimel Sep 3, 2025
8bb6674
fix videos not autoplaying when using control arrows in android
hakimel Sep 4, 2025
c9d6785
prevent iframes from auto-focusing and disabling keyboard nav, contro…
hakimel Sep 16, 2025
363bb3e
make iframe autofocus blocker work for preloaded iframes
hakimel Sep 16, 2025
6dbfd7e
Merge pull request #3807 from manuelarte/chore/remove-node-modules-co…
hakimel Sep 29, 2025
662c734
suport data-id for slide links
hakimel Oct 14, 2025
becc9bd
roll back unintentional index.html change
hakimel Oct 14, 2025
33bfe3b
new approach to handling browsers not allowing media with audio to pl…
hakimel Dec 23, 2025
e08a1c9
leave reveal.js version at 5.2.1
hakimel Jan 24, 2026
eb6b2ac
leave reveal.js version at 5.2.1
hakimel Jan 24, 2026
519d43e
Merge pull request #3811 from Khlick/feature/mathjax4-plugin
hakimel Jan 24, 2026
7df770e
merge in master
hakimel Jan 24, 2026
54882f0
ts fixes, audit fix
hakimel Jan 24, 2026
cbe72c5
dispatch an event when reveal.js syncs, add removeHiddenSlides to api
hakimel Jan 28, 2026
2a47ab6
2026
hakimel Jan 28, 2026
5abf24c
adjustment to removeHiddenSlides api
hakimel Jan 28, 2026
5576dc3
ts refinements
hakimel Jan 31, 2026
654b28e
dont rollup ts files, ensure config types are published
hakimel Jan 31, 2026
26527c4
relocate zip and test to /scripts, update outdated docs
hakimel Feb 1, 2026
4425726
docs and types
hakimel Feb 2, 2026
fdd7cdc
merge master
hakimel Feb 2, 2026
c3849d4
remove unintentional change to example content
hakimel Feb 9, 2026
6d756cc
add controls: 'speaker' for speaker-only controls #3853
hakimel Feb 16, 2026
0753c05
data-preview-link value now takes precedence over anchor href #3854
hakimel Feb 16, 2026
36da328
merge in master, allow 'speaker' as controls config value
hakimel Feb 16, 2026
2a4b130
type refinements
hakimel Feb 16, 2026
fc9b4da
refactor test runner with better port flexibility and exit logic
hakimel Feb 23, 2026
d497e88
types for removeHiddenSlides
hakimel Feb 25, 2026
3be72d4
dependency update; vite 7, node 20.19 (req by vite 7), marked 4 -> 17
hakimel Feb 25, 2026
09166e0
audit fix
hakimel Feb 25, 2026
abdad1c
prevent test false positive, zip packager now handles additional form…
hakimel Feb 25, 2026
f20893c
fix math rendering in md examples
hakimel Feb 25, 2026
b4cfd4f
ci
hakimel Feb 25, 2026
0298dc6
switch ci from node 18+20 to 20+22
hakimel Feb 25, 2026
068dd47
tests for sync/syncSlide apis and jump to slide functionality
hakimel Feb 25, 2026
ac55c15
audit fix
hakimel Feb 26, 2026
c707ad7
always read version from package.json, license banner in umd outputs,…
hakimel Feb 28, 2026
ce8e6f4
add official react wrapper for reveal.js – @revealjs/react
hakimel Mar 1, 2026
c280671
react: add onSync event
hakimel Mar 2, 2026
8142ed4
pass config as an object for better dep tracking
hakimel Mar 3, 2026
9659cfc
add Code block to react wrapper
hakimel Mar 3, 2026
e177436
plugins are init-only, improve plugin typing
hakimel Mar 3, 2026
6120491
sync() now also updates slide classes, fixes issues when adding or re…
hakimel Mar 4, 2026
5b12dc2
avoid sync when config remains unchanged
hakimel Mar 4, 2026
83fa5d2
fix teardown, comments
hakimel Mar 4, 2026
b7fb77b
use sass meta load-css to ensure print styles are appended at the end
hakimel Mar 4, 2026
e7ebf57
Merge branch 'feature/vite-react' into feature/vite
hakimel Mar 4, 2026
aa0ee07
react: call slideSync when slide data-attr changes
hakimel Mar 6, 2026
f9ae2cb
react: sync improvements for sldies, add readme
hakimel Mar 7, 2026
f7bc0c5
Merge pull request #3600 from hakimel/feature/vite
hakimel Mar 7, 2026
f03ffef
allow dev server port override through npm start -- --port 8001
hakimel Mar 9, 2026
6d21403
upgrade deps, fix vuln warning
hakimel Mar 9, 2026
d9c0fb1
6.0.0
hakimel Mar 9, 2026
225963e
ignore react package in spellcheck
hakimel Mar 9, 2026
e3fa0f9
add index.local.html example of running reveal.js without a dev server
hakimel Mar 9, 2026
739c58d
switch from .npmignore to package:files, add prepack command
hakimel Mar 9, 2026
3bc1e9b
index.html uses compiled assets; it's our template for hosting on any…
hakimel Mar 9, 2026
3ecf86d
type enhancements, distribute plugin types
hakimel Mar 9, 2026
13002e1
remove leftover plugin artefacts
hakimel Mar 9, 2026
77af857
spec fix
hakimel Mar 9, 2026
a79f4c5
expand on plugin types
hakimel Mar 9, 2026
6b1e943
switch from types from namespace to direct module exports
hakimel Mar 10, 2026
580293b
plugin type improvements
hakimel Mar 10, 2026
a6e54cc
all ambiguous now start with Reveal*, i.e. Config -> RevealConfig, fo…
hakimel Mar 10, 2026
7fea672
expose additional slide attributes as props on the Slide c omponent
hakimel Mar 10, 2026
d9295b7
react; only call reveal.sync() when deck structure changes, ignore in…
hakimel Mar 10, 2026
79a1335
react: Fragment can be used as as slot via asChild
hakimel Mar 11, 2026
2bbf5a7
update package details
hakimel Mar 11, 2026
d216f66
react: readme improvement
hakimel Mar 11, 2026
4c659c1
react 0.1.1
hakimel Mar 11, 2026
dd84d3f
agents.md for react wrapper
hakimel Mar 11, 2026
d076465
rc1
hakimel Mar 11, 2026
9314fa4
beta
hakimel Mar 11, 2026
20e8c03
skip beta
hakimel Mar 11, 2026
bd8c5b1
fix npm run react:build from the root not producing types #3867
hakimel Mar 11, 2026
8d9120f
placekitten.com -> placecats.com (closes #3848)
hakimel Mar 11, 2026
822909a
remove built react files from git
hakimel Mar 12, 2026
aa5ad31
type corrections
hakimel Mar 12, 2026
2abcfe7
ignore react/dist
hakimel Mar 12, 2026
1034983
remove incomplete md demo
hakimel Mar 13, 2026
f1af34f
react: add support for md via new Markdown component, refactor code s…
hakimel Mar 18, 2026
f3d65e5
react: adjust md examples indentation
hakimel Mar 18, 2026
ea3d7aa
react: add auto-animate example #3876, update agents.md
hakimel Mar 19, 2026
8350d1b
demo.html now uses compiled assets (see #3877)
hakimel Mar 24, 2026
9fa157d
leave a comment for how to import es5 assets via dev server
hakimel Mar 24, 2026
8bbbcf8
upgrade deps (vite 8 & ts 6)
hakimel Apr 1, 2026
ca534c6
Fix typo in comment about slide navigation
stefmolin Apr 8, 2026
6b326a1
Merge pull request #3889 from stefmolin/patch-1
hakimel Apr 8, 2026
3cdb5c5
blacklist previewIframe in postmessage api (closes #3887)
hakimel Apr 8, 2026
be6d7f8
only remove media play button if it is attached to dom #3888
hakimel Apr 11, 2026
a80bf96
audit fix
hakimel Apr 11, 2026
52c6c8b
6.0.1, update build to maintain dts output paths
hakimel Apr 11, 2026
b5b37a5
fix multitouch detection for pointer events, prevents an issue where …
hakimel Apr 15, 2026
a77688b
improve layout and scroll-view performance
hakimel Apr 17, 2026
edf1240
fix es5 legacy build
hakimel Apr 20, 2026
a01924f
adjust controls and progress based on mobile viewport size
hakimel Apr 20, 2026
812830c
add support for pan in zoomed mobile viewports
hakimel Apr 20, 2026
19e54eb
round reveal.js scale to two decimal points
hakimel Apr 20, 2026
76dc900
allow pan on reveal.js root
hakimel Apr 20, 2026
05062fe
disable pan while zoomed for now to fix nav regression in older mobil…
hakimel May 21, 2026
0f85728
scroll mode: fix current slide infinitely toggling visibility for eac…
hakimel May 21, 2026
c0b01b8
audit fix
hakimel May 21, 2026
363a90b
fix overlay button size in mobile
hakimel May 21, 2026
a3b9406
button size tweak
hakimel May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = .git*,node_modules,package-lock.json,*.css,.codespellrc,react
check-hidden = true
# Ignore super long lines -- must be minimized etc, acronyms
# and some near hit variables
ignore-regex = ^.{120,}|\b(currentY|FOM)\b
# ignore-words-list =
10 changes: 4 additions & 6 deletions CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
## Contributing
Please keep the [issue tracker](https://github.com/hakimel/reveal.js/issues) limited to **bug reports**.

Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.


### Personal Support
If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
### General Questions and Support
If you have questions about how to use reveal.js the best place to ask is in the [Discussions](https://github.com/hakimel/reveal.js/discussions). Anything that isn't a bug report should be posted as a dicussion instead.


### Bug Reports
When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.


### Pull Requests
- Should be submitted from a feature/topic branch (not your master)
- Should follow the coding style of the file you work in, most importantly:
- Tabs to indent
- Single-quoted strings
- Should be made towards the **dev branch**
- Should be submitted from a feature/topic branch (not your master)


### Plugins
Expand Down
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [hakimel]
25 changes: 25 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Codespell configuration is within .codespellrc
---
name: Spellcheck

on:
push:
branches: [master]
pull_request:
branches: [master]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
skip: ./.git,./dist,package-lock.json,*.css,.codespellrc,./react/
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests

on:
- push

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version:
- 20
- 22

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ log/*.log
tmp/**
node_modules/
.sass-cache
css/reveal.min.css
js/reveal.min.js
presentation
presentation.zip
dist/reveal.es5.js
react/dist
react/demo/dist
dev.html
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
js/**/*.js
plugin/**/*.js
**/*.md
test/**/*.html
examples/**/*.md
dist/**/*
*.html
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"useTabs": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true,
"bracketSameLine": false
}
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

192 changes: 0 additions & 192 deletions Gruntfile.js

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2017 Hakim El Hattab, http://hakim.se, and reveal.js contributors
Copyright (C) 2011-2026 Hakim El Hattab, http://hakim.se, and reveal.js contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading