Presenting
A deck is driven the same way wherever it is shown: alone (recit build, recit dev), on the page
of a site, or embedded in a page with <StoryEmbed>. Try everything below on this deck:
Keyboard shortcuts
The keyboard always works: no setting turns it off. Press ? in a deck for the same list.
| Key | Action |
|---|---|
| → / Space / Page Down / D | next step, then next slide |
| ← / Page Up / A | previous step, then previous slide |
| Home / End | first / last slide |
| O | overview of every slide |
| M | the Contents drawer, the deck's table of contents |
| G, a number, then Enter | go to that slide |
| F | fullscreen |
| S | presenter console (in the console: back to the audience) |
| B / W | black / white screen |
| L | laser pointer |
| Shift+D, then C | pen, then clear the drawing |
| T | light / dark color mode (a deck alone; a site keeps its own) |
| H | slide density readout, under recit dev only |
| R | QR code of the smartphone remote (recit dev --) |
| P | download the deck's PDF, when its site lists one |
| ? | this help |
| Escape | close a dialog, bring the screen back, leave fullscreen |
In a right-to-left story (dir: rtl), ← and → swap, like the click zones and the swipe.
A shortcut never takes a key from a control: a focused button or link keeps Space and Enter, and a field, a code tab or a dialog keeps every key. On a page of a site, the deck listens once it has the focus (a click or Tab), so two decks of one page never move together.
Mouse and touch
-
Previous / next buttons sit on the edges of the slide. With a mouse they appear when it moves and fade after 2 s; on a touch screen they stay visible, as 44 px targets.
-
A click or a tap on the slide: the left third goes back, the two other thirds advance. A double click is two steps, never a selection.
-
Links, buttons, fields, code tabs and a text selection keep their click. So does any element marked
data-, for a component that handles clicks on a plaindeck- interactive div:TSX -
Swipe left or right with a finger. A vertical swipe still scrolls the page.
Overview and go to
O, or the toolbar's Overview button (in its ⋯ menu on a narrow screen), opens the overview: every slide as a thumbnail, the current one marked. Arrows move between them, Enter opens one. G followed by a number and Enter goes straight to that slide.
The table of contents of a deck, its sections and its slides, opens with M or the Contents button: see Table of contents and series.
Fullscreen
F, or the Fullscreen button, puts the deck itself in fullscreen, not the page around it. Where
the browser has no Fullscreen API (an iPhone), the deck covers the window instead and Escape leaves.
On the page of a site, the address follows the slide (?slide=4), so a reload stays there; an
embedded deck never writes the address.
Presenter console
S, or the Presenter button, opens the console in a second window: current and next slide, notes, time and tools. It lands on the slide the audience shows, follows it step by step, and drives it: black screen, laser and pen go to the audience.
- A deck alone opens itself with
?mode=.presenter - The page of a site, or a
<StoryEmbed>, opens the story's own route,…/(<slug>/ presenter /present/here), full screen without the site's header. An embedded deck syncs with its own console only: another deck of the page does not move.course/ presenter - If the browser blocks the window, the deck says so and gives the link to open by hand.
The console adapts to the screen it is on, from a phone held upright to a projector. On a phone, a
touch on the current slide opens the overview. Dark console, in its tools, turns the console
alone dark while the audience keeps its mode, for a dark room; the console remembers it. A phone on
the same network — in its browser or with the Récit Remote app (preview) — can also drive a deck
run by recit dev -- or Récit Studio: see the
smartphone remote. A published deck has no remote relay.
Settings
Everything but the keyboard and the help can be turned off, in recit., in the front
matter of a story, or on one <StoryEmbed>. The strongest wins: the embed's props, then the story,
then the config, then the defaults.
recit.config.ts
slides.md
a page of a site
In a deck embedded with <StoryEmbed>, controls. defaults to "always" so readers see
at once that the block has slides; set navigation: (on <StoryEmbed>, in the story's
controls: front matter, or in deck. of recit.) to hide the buttons again when
the mouse is still.
| Key | Default | Effect |
|---|---|---|
controls. | "auto" ("always" in <StoryEmbed>) | auto: buttons on mouse move and always on touch; always: always; hidden: never |
controls. | true | a click or a tap on the slide moves it, with the exceptions above |
controls. | true | a horizontal swipe moves it |
controls. | true | the overview, "go to", the Overview button and the Contents drawer |
controls. | true | on a site, the series of the deck: the foot of Contents and the card to the next deck |
presenter | true | the console exists |
With navigation:, a touch screen still has the tap and the swipe: turn those off too and
only the keyboard is left.