Command Palette

Search for a command to run...

Назад к скиллам
скилл № 82620

revealjs

reveal.js is an open-source framework that turns HTML or Markdown into a browser-based slide deck with nested slides, fragments, speaker notes, code…

БесплатноБез исполняемых скриптов
TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Установить revealjs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

reveal.js — HTML and Markdown presentations that run in the browser

Overview

reveal.js (MIT licensed, version 6.0.2 on npm at the time of writing) renders <section> elements as slides. A slide can be plain HTML or Markdown, sections nested inside a section become vertical slides, and built-in features include fragments (step-by-step reveal), auto-animate, speaker view, line-by-line code highlighting and a print stylesheet for PDF. A deck is static files, so it can be hosted anywhere.

Docs: revealjs.com (installation, markup, markdown, speaker-view, pdf-export, config). Prefer the sibling skills when the user wants something else: dev-slides for Slidev (Vue-based), ai-slides for Marp/PowerPoint output.

Instructions

Install

Three routes: download the repo zip (no tooling), clone and npm start (dev server on port 8000), or use npm as a dependency. For an agent, npm is simplest:

mkdir q3-review && cd q3-review
npm init -y
npm install reveal.js

The package ships ready-to-use files in node_modules/reveal.js/dist/: reveal.js, reveal.css, reset.css, theme/*.css, and plugins dist/plugin/markdown.js, highlight.js, notes.js, math.js, search.js, zoom.js. Themes: black, white, league, beige, night, serif, simple, solarized, moon, dracula, sky, blood, plus black-contrast and white-contrast.

A complete deck (script-tag setup)

Save as index.html. Each plugin is a global named Reveal<Name>.

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Q3 Platform Review</title>
  <link rel="stylesheet" href="node_modules/reveal.js/dist/reset.css">
  <link rel="stylesheet" href="node_modules/reveal.js/dist/reveal.css">
  <link rel="stylesheet" href="node_modules/reveal.js/dist/theme/night.css">
  <link rel="stylesheet" href="node_modules/reveal.js/dist/plugin/highlight/monokai.css">
</head>
<body>
  <div class="reveal">
    <div class="slides">
      <section>
        <h1>Q3 Platform Review</h1>
        <p>Infrastructure team, 29 October 2026</p>
        <aside class="notes">Keep the intro under one minute.</aside>
      </section>
      <section data-markdown data-separator="^---$" data-separator-notes="^Note:">
        <textarea data-template id="highlights-source">
          ## Highlights
          - p95 latency down from 480 ms to 310 ms <!-- .element: class="fragment" -->
          - Deploy frequency up to 38 per week <!-- .element: class="fragment" -->
          Note: Mention the cache rollout in August.
          ---
          ## Config
          ```yaml [1-2|3]
          replicas: 6
          region: eu-west-1
          timeout: 30s
          ```
        </textarea>
      </section>
      <section>
        <section><h2>Risks</h2></section>
        <section><h3>Database failover</h3></section>
      </section>
    </div>
  </div>
  <script src="node_modules/reveal.js/dist/reveal.js"></script>
  <script src="node_modules/reveal.js/dist/plugin/markdown.js"></script>
  <script src="node_modules/reveal.js/dist/plugin/highlight.js"></script>
  <script src="node_modules/reveal.js/dist/plugin/notes.js"></script>
  <script>
    Reveal.initialize({
      hash: true,
      slideNumber: 'c/t',
      transition: 'slide',
      width: 1280,
      height: 720,
      plugins: [RevealMarkdown, RevealHighlight, RevealNotes]
    });
  </script>
</body>
</html>

This exact deck was built and rendered to PDF in a scratch directory with reveal.js 6.0.2.

ES module setup (bundler projects)

import Reveal from 'reveal.js';
import Markdown from 'reveal.js/plugin/markdown';
import Highlight from 'reveal.js/plugin/highlight';
import Notes from 'reveal.js/plugin/notes';
import 'reveal.js/reveal.css';
import 'reveal.js/theme/night.css';
import 'reveal.js/plugin/highlight/monokai.css';

const deck = new Reveal({ hash: true, plugins: [Markdown, Highlight, Notes] });
deck.initialize();

Markdown slides

Add the data-markdown attribute to a section element and wrap the text in a textarea element that has the data-template attribute. --- on its own line starts a new horizontal slide. Indentation matters: do not mix tabs and spaces. Per-element attributes use HTML comments: - item <!-- .element: class="fragment" -->; per-slide attributes use <!-- .slide: data-background="#0b3d2e" -->. In a Markdown slide, a line Note: starts the speaker notes (the pattern is configurable with data-separator-notes).

External Markdown: <section data-markdown="slides/intro.md" data-separator="^\r?\n---\r?\n" data-separator-vertical="^\r?\n--\r?\n"></section>. Loading a file needs an HTTP server, not file://. Code fences accept highlight steps: ```js [1-2|4] shows lines 1-2, then line 4.

Serve locally

python3 -m http.server 8123 --bind 127.0.0.1

Open http://127.0.0.1:8123/. Pick a free port; npx vite or any static server works too. Press `S

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • _scores.json

FAQ

Что делает скилл revealjs?

reveal.js is an open-source framework that turns HTML or Markdown into a browser-based slide deck with nested slides, fragments, speaker notes, code highlighting and PDF export. Use it when a user asks to "build a slide deck as a web page", "write my presentation in Markdown", "make slides with code walkthroughs", "add speaker notes", or "export reveal.js slides to PDF". Covers npm install, plugins, config options and headless Chrome PDF export for reveal.js 6.

Как установить скилл revealjs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл revealjs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить revealjs с