Use it if you want your presentation to behave like a website you control. Skip it if your colleagues need a visual editor inside the open-source framework: the project's README sends those authors to the separate Slides.com platform.
Browser slides give you HTML, CSS and JavaScript control
reveal.js turns HTML or Markdown into browser presentations with nested slides, speaker notes, code highlighting and a JavaScript API, according to its README.
The reveal.js GitHub repository is hakimel/reveal.js. That makes the best reason to choose it quite specific. You want something on a slide that belongs on a web page: an interactive chart, a working example, or a layout your existing CSS can express. A fragment is an element revealed at a particular step, useful when you want to explain a diagram in stages. Auto-Animate moves matching elements between slides. Those features give you control over how an explanation unfolds, rather than merely supplying another theme.
For reveal.js examples, start with the official demo linked from the README and Mauricio's scientific presentation. In P Labs’ video, Mauricio demonstrates a chart whose displayed dataset the viewer can choose, alongside progressive disclosure and equations. That is a concrete reason to use browser slides. His wider claim that this improves scientific communication is his judgment, rather than a measured audience outcome.
reveal.js themes are CSS stylesheets that you include alongside the framework's core stylesheet. The official markup example loads the white theme and defines each slide with a section element. For reveal.js templates, choose one whose markup and asset paths you can maintain. An elaborate starting deck creates little value if changing a chart means undoing someone else's layout decisions.
What people use reveal.js for
People have used reveal.js to replace PDF slide workflows, publish Markdown decks through Astro, and generate decks with AI assistance.
| Who used it | What they did | Reported outcome |
|---|---|---|
| Neil Brown | Replaced his Markdown-to-Pandoc-to-Beamer workflow | He found HTML, CSS and JavaScript easier to adjust and regained speaker view, including the next build and a clock. |
| andrewmarder on r/astrojs | Compiled Markdown files into presentations with Astro | He reported that it worked well and shared a presentation, Markdown input and conversion code. |
| arif_szn on r/claudeskills | Built the slide-wright generation skill | The author described palette and font previews before generating the whole deck, through Claude Code or an agent reading SKILL.md. |
| ramith__ on X | Combined manim-web, reveal.js, Claude and Codex | They reported delivering a group presentation with Manim-style transitions and shared the template and repository. |
| hadim in GitHub issue #1258 | Added staged reveals to Inkscape SVG figures | They adopted flying-sheep’s template system and reported that SVG fragments worked. |
Brown's account is particularly useful if you already write Markdown. He kept the basic setup, pasted Markdown into the index file, and hosted the result himself. His complaint about Beamer was the work of getting the template right. The attraction was being able to change the styling with languages he already knew, while keeping the slides on his own server.
The Astro example answers a different objection: the deck can be an output of an existing content workflow. andrewmarder's post includes the conversion code, so you can inspect that approach instead of assuming reveal.js ships an Astro integration. Both accounts describe individual workflows, with named authors and inspectable artifacts.
What happened when we ran it
Our October 24 sandbox installed the repository in 37 seconds and built it in 23 seconds, then the test command failed after 191 seconds with exit 1.
| Recorded step | Result | What it tells you |
|---|---|---|
| npm install | Succeeded in 37 seconds; 209 dependencies recorded; 218 MB on disk | The development dependency installation completed in our sandbox. |
| Build | Succeeded in 23 seconds | The recorded build step completed. |
| Tests | Failed, exit 1, after 191 seconds | The runner reported no tests executed, no failed assertions, 17 errors and 0ms runtime. |
| npm audit | 0 known vulnerabilities, including 0 critical, high, moderate and low | This was the audit result for that dependency snapshot. |
The run used commit e240e17 on 2026-10-24, with 3 CPUs, 8 GB RAM and the image label lab-node:22. The checkout contained 185 files, about 18,080 source lines and 6.6 MB. The scan found two CI workflow files, a tests directory and no Dockerfile. The image name records the sandbox configuration; it doesn't identify the actual Node.js or operating-system version.
Installation completed, then the build completed. The browser-backed test step is where the run stopped producing a usable result. Its tail runs through Puppeteer's CallbackRegistry, Connection, NetworkManager, FrameManager and CdpPage initialization code. Then comes the summary: no tests executed, no failed assertions, 17 errors, 0ms runtime.
Zero failed assertions is not a passing suite when no tests ran and the command failed. The visible tail identifies browser automation initialization as the context of the errors. It gives no exact root cause to repair. Blaming memory, a missing browser package or reveal.js itself would add a diagnosis the log doesn't contain.
The 218 MB footprint belongs to the repository's development installation. It isn't a minimum size for a published presentation. The basic installation guide describes opening the distributed index.html in a browser without a build process. If your job is authoring a deck rather than changing the framework, start with that distinction before taking on its development toolchain.
Where people get stuck: embedded layouts and plugin ordering
Historical GitHub reports show that fitting reveal.js into an existing website can involve CSS and plugin work beyond writing the slides.
| Report | What happened | Resolution in the discussion |
|---|---|---|
| garretwilson, issue #2470 | Controls disappeared below a page header. | Hakim El Hattab suggested a flex-column container; the reporter pursued positioning overrides and warned about their untested implications. |
| Mermaid contributors, issue #1082 | Markdown processing and diagram rendering conflicted; diagram text disappeared. | Contributors proposed a custom renderer and a separate plugin, while later comments still described CSS conflicts. |
| HHoofs and lukasbestle, issue #503 | A remotely uploaded audience deck did not follow the master presentation. | The discussion explained the Socket.io service requirement and ended by identifying a missing uploaded plugin folder. |
Issue #2470 is the one to read before adding a deck below your company's navigation. The maintainer explained that a presentation element at full height plus a header made the page too tall. The reporter wanted to preserve the site's existing CSS framework. That disagreement is the integration cost in miniature: a presentation's full-screen assumptions can reach beyond its own content. Treat the overrides as that author's workaround for older versions, rather than a current universal patch.
For Mermaid, a diagram language that turns text into charts, the order of conversion matters: Markdown must produce the right elements before Mermaid renders them. The older thread contains attempts and remaining styling problems. It doesn't justify advertising arbitrary Mermaid markup as a finished built-in workflow.
The multiplexing report concerns synchronized audience decks, not normal slide navigation. Uploading HTML files was insufficient for a feature that also depended on a running synchronization service. The thread's named hosted endpoint is historical. Don't build a new event around an old service address copied from that conversation.
Version 6 brings React bindings, but plugins still have a lifecycle
The official React wrapper handles deck initialization, synchronization and cleanup, while leaving styles, themes and plugin selection to you.
The React documentation identifies @revealjs/react as the official wrapper and says it ships only the React bindings. You still import the reveal.js styles and your chosen theme. Its Deck and Slide components describe a presentation; Stack groups vertical slides, and Fragment handles staged reveals. That is a clearer starting point for a React application than copying an old component that manually owns the presentation instance.
The wrapper's Markdown component renders compatible Markdown without the core Markdown plugin. It also accepts external files. Plugin registration has a different boundary: the plugins prop is captured on first mount and ignored on subsequent renders. If your application changes which plugins a deck uses, that initialization rule matters more than whether a demo slide looks correct.
Hakim El Hattab’s version 6 announcement names the Vite build system, bundled TypeScript types and official React wrapper. For an older template, inspect its build scripts, type imports and component lifecycle before changing the package version. A successful upgrade needs the surrounding project to match those interfaces; the announcement alone supplies no complete migration procedure.
The 6.0.2 release notes say building and developing reveal.js requires Node.js 22.12 or later. That is newer guidance than the installation page captured with a 20.19.0 minimum. The basic browser setup and source-development requirements are separate choices.
PDF pages and offline assets need separate decisions
Native reveal.js prints each fragment separately by default, whereas Quarto documents putting a slide's fragments on one PDF page by default.
In the native configuration reference, pdfSeparateFragments defaults to true. In Quarto’s presentation documentation, pdf-separate-fragments must be enabled to create a page for each fragment. A fragment is a reveal step within a slide. If you copy settings between those systems without noticing the defaults, the resulting PDF can have a different page count even when the live explanation feels identical.
For reveal.js to PDF, decide whether the handout should preserve each reveal step or show the completed slide. Then inspect the resulting file for overlays, page breaks and figures. A live chart has interactions a printed document cannot carry. PDF is a separate reading experience, and making it useful can require an explicit final state for the material you animate.
Offline use has a similar boundary. The installation guide says external Markdown needs a local web server; the basic setup can use your own server. Keep the deck's CSS, fonts, images, scripts and content available locally if you need them without a connection. A local index file can't make a remote asset available by itself. Audience synchronization is another service dependency, as issue #503 illustrates.
Mobile scroll view changes navigation, not the amount of text
Quarto documents reveal.js scroll view and automatic activation on small screens, while reveal.js 6.0.2 lists mobile control and scroll-layout fixes.
The Quarto guide describes vertically scrolling slides, selectable snapping and a compact layout. The 6.0.2 changelog lists scaled navigation controls for mobile viewports and fixes for slides repeatedly loading while scrolling. Those are concrete improvements to navigation and layout behavior.
For your reveal.js slides, distinguish fitting the slide canvas from making its contents readable. Scaling an entire dense diagram into a phone's width doesn't reduce the diagram's complexity. Give a chart's labels and a code example their own space, and choose whether a phone reader should swipe through a staged argument or scroll through the deck. Quarto's configuration names belong to Quarto; use the native documentation when configuring a standalone presentation.
Security: update the presentation code you distribute
reveal.js 6.0.2 lists a fix for cross-origin XSS through its postMessage API, so old exported presentation assets deserve attention alongside the authoring package.
The release notes say the fix validates iframe preview URLs. XSS means attacker-controlled script runs in a page's context. A researcher, 0xAsm0d3us, also reported on X that a postMessage vulnerability they submitted had been fixed. The release notes provide a concrete version and change, which is more useful for an update decision than a social post alone.
The configuration reference also separates embedded content behavior: iframe preloading can be configured, and prevention of iframe autofocus defaults to true. Decide which external pages and scripts actually need to be part of a presentation. Keeping a deck on your own server gives you hosting control; it doesn't turn every embedded service into local content.
reveal.js vs Marp, Slidev and Slides.com
Choose Marp for a document conversion workflow, Slidev for Markdown with Vue components, and reveal.js when custom browser behavior earns the extra authoring work.
| Tool | Pick it when | Why it differs |
|---|---|---|
| reveal.js | You want direct HTML, CSS and JavaScript control. | PkgPulse positions it for custom presentation applications and plugin-heavy systems. |
| Marp CLI | Your source is Markdown and your deliverable is a PDF or PowerPoint file. | Its README documents conversion to HTML/CSS, PDF, PowerPoint and images. |
| Slidev | You want Markdown authoring with Vue components. | Its README documents Vue-powered Markdown and component customization. |
| Slides.com | You want to create reveal.js presentations in a graphical editor. | The official reveal.js site directs visual authors to the separate Slides.com platform. |
For reveal.js vs Marp, the useful question is who will maintain the source after the first talk. If most edits are headings, bullets and diagrams destined for a file, Marp gives those editors a document to work on. If the explanation depends on an interactive dataset or a custom control, reveal.js gives the developer a web page to maintain. That recommendation agrees with the workflow distinction in PkgPulse's comparison; it isn't a speed ranking from a shared benchmark.
Slidev also exports presentation files: its current README lists PDF, PNG and PPTX. Don't choose between these tools on a false claim that only Marp can produce PowerPoint. The appeal of Slidev here is its Markdown and Vue authoring model. These reveal.js alternatives offer different conventions for the person who will edit the next version of your talk.
What the other reviews get wrong
HysenLabs' reveal.js/Slidev comparison promises too much when it says a reveal.js PDF matches what the audience saw.
HysenLabs makes that claim because the PDF is a print of the same page. Printing the same page doesn't settle fragment pagination. The native configuration exposes that choice, and Quarto's default differs. The old PDF issue #808 also contains reports of replacing animated elements overlapping in print. That historical report is a reason to inspect this kind of deck, not a claim that the same defect affects today's release.
Neil Brown's review needs two qualifications when you read it today. He explicitly updated his Firefox criticism to say a newer Firefox removed his need for Brave. His original comment that fragments required switching to HTML is also too broad as general advice: the React documentation shows comment-based fragment attributes inside Markdown. Markdown authors can use that supported syntax.
Older setup material needs dates attached. The archived presentation page says Node.js 4.0.0 or later, and Coding in Public's older setup video says Node.js 10 or later. Those are historical instructions, superseded for source development by the 6.0.2 release requirement discussed above. A directory score answers even less about your talk: iTechGuides advertises paid directory placement and editorial review offerings. Read the named workflow and the demonstrated outcome before treating a listing as practical experience.
Questions people ask
reveal.js is an open-source HTML presentation framework for browser slides, with Markdown support and an API for custom behavior.
What is reveal.js, and who is it best suited to?
It suits presenters who can work with web source and want to control their presentation's behavior. The official site describes an HTML presentation framework built on open web technologies. That makes it a useful candidate for technical talks and interactive examples where a fixed document would discard part of the explanation.
How do I install reveal.js and create my first slides?
For the basic route, download the distribution, replace the example contents of index.html and open it in a browser, as the installation guide instructs. The markup guide shows a reveal container, a slides container and section elements. External Markdown requires a server. Source development has the newer Node.js requirement stated in the 6.0.2 release notes.
What are the best reveal.js alternatives for my presentation workflow?
Marp is a candidate for Markdown-to-file work, Slidev for Markdown and Vue, and Slides.com for graphical authoring. PkgPulse’s comparison distinguishes document conversion, technical talks and custom presentation systems. Choose the editing and delivery workflow your collaborators need rather than the longest feature list.
Can GitHub Copilot build a reveal.js presentation for me?
Yes: a Copilot walkthrough shows a generated local presentation after a relative-path problem, then demonstrates fullscreen and speaker notes. The presenter reports the problem before showing the working result. That's useful evidence of one assisted workflow, with an actual repair along the way.
How can I compile Markdown into reveal.js slides with Astro?
andrewmarder shared an Astro conversion implementation, the Markdown input and a working example in their r/astrojs post. Use the linked conversion code to understand that author's approach. The post describes a personal setup and asks for feedback about how it is arranged.
Why choose reveal.js to build a Markdown-to-presentation tool?
It provides a browser presentation framework beneath your Markdown authoring layer. The installation documentation shows importing Reveal and the Markdown plugin, initializing a deck and including its CSS and theme. That leaves room to add custom behavior when a generated slide needs more than text formatting.
How can I make animated reveal.js presentations with Doubao?
A Chinese-language Bilibili listing by 汉云Ai实战 advertises Doubao plus reveal.js code for animated presentations. The search listing identifies that tutorial; it contains no walkthrough transcript from which to reproduce the steps. Use it as a lead to the creator's video rather than a tested recipe.
How do I build a multipage GeoGebra presentation with reveal.js?
A Bilibili listing by ggb赵老师 identifies a beginner tutorial about multipage GeoGebra with reveal.js. The listing supplies a title and creator, rather than implementation details. A step-by-step embedding procedure needs the actual tutorial and its working project.
What is a reveal.js skill?
In arif_szn's example, it is an agent instruction package for generating slide decks from a prompt. The slide-wright author says it previews fonts and a palette before building the full deck. That is an external authoring tool, rather than a feature you enable in reveal.js itself.
Can reveal.js combine interactive charts, code and equations for scientific talks?
Yes: Mauricio from P Labs demonstrates dataset selection in a chart, progressive disclosure and equations. The same video discusses code highlighting and the need to write some HTML, CSS and JavaScript. It shows why a browser presentation can be useful for an explanation with interactive material.
How do I make reveal.js slides easy to create, share and revision-control?
Ryan Jarvinen demonstrates editing talks through GitHub Gists and gist-reveal in his Red Hat presentation-hacks talk. He shows a changed slide after reloading and describes hosting his slides in a container on Kubernetes. That's an inspectable example of maintaining slide source through GitHub.
How do I make reveal.js slides fill the screen vertically?
The configuration reference exposes vertical centering and an option to disable the default scaling and centering layout. Choose the desired layout before changing CSS. Filling the viewport and preserving a particular slide shape are different requirements; changing the content layout can be preferable to stretching it.
How do I keep navigation controls visible below a site header?
In issue #2470, Hakim El Hattab suggests making the containing body a flex column. The reporter later explored positioning overrides. Read the whole discussion with your page structure in mind: the report concerns a presentation whose full-height container was combined with additional header content.
What we have not tested yet
Our lab has not validated slide playback, speaker view, PDF export, mobile readability or the React wrapper in a real presentation.
A separate November 20 recipe used commit e240e175232f and attempted the npm-library route. Its example execution stopped because the README had no JavaScript/TypeScript block for that recipe to run. That is a recipe limitation, not a demonstrated presentation failure. The teardown completed successfully. The installation, build, test, dependency and audit figures in this review all come from the October source run, which is a different workflow.
We have no comparative measurements for Marp, Slidev or AI authoring effort. The community demonstrations establish what their authors showed or reported, not accuracy, editing-time savings or reliability for your subject matter. We also have no controlled network-disconnected rehearsal, large-deck stress result, complete browser error log, security assessment or runtime-version log. The audit's zero known advisories isn't a guarantee about the presentation code or its embedded content.
For your first evaluation, take one slide that genuinely needs browser interaction and one that must survive as a printed handout. Build both before moving your whole talk. Those two artifacts will tell you whether reveal.js's control is worth maintaining for your work.


