reveal-carve
Write reveal.js presentations in Carve markup.
See it
- Feature deck12 slides from 186 lines of Carve: stepwise code highlighting, two-column comparisons, fragments, speaker notes
- The same deck, rendered in your browserNo build step: the plugin fetches deck.crv and renders it on load
- Everything on a slide12 slides: Mermaid diagrams, a Chart.js chart, KaTeX math, inline SVG, footnotes, task lists, admonitions, semantic spans
- The rest of the language14 slides: tabs, folded details, a table of block content, spoilers, code callouts, auto-animate, and a container rendered as a real
<figure> - Chapters and includesOne file per chapter plus a shared slide pulled in with
{{ ... }} - Handout export (Markdown)The same source as a Markdown document, with the speaker notes quoted under each slide
- deck.crvThe source behind the feature deck
- The feature deck as a PDFPrinted by
reveal-carve pdfthrough headless Chrome - Every element, as one PDFBoth showcase decks in static mode: tab groups unfolded, diagrams and math drawn, nothing hidden behind a click
Use it
npm install @markup-carve/reveal-carve @markup-carve/carve reveal.js
npx reveal-carve build slides/deck.crv deck.html
npx reveal-carve watch slides/ deck.html # rebuild and reload on save
npx reveal-carve lint slides/ # catch a mistyped directive
npx reveal-carve handout slides/ handout.md # slides plus spoken notes