slidetake 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -389,6 +389,17 @@
389
389
  @media (max-width:560px){ .modal .fields{grid-template-columns:1fr;} }
390
390
  /* Studio, beside the Editor: an accent dot (red is for ● Record itself); lit, like the Editor, while open */
391
391
  #btn-studio .rec-dot{color:var(--accent);}
392
+ /* the key that does it, its letter in the accent: Keys, Camera, Record, Fullscreen, Editor, Studio */
393
+ u.key{text-decoration:none;color:var(--accent);font-weight:600;}
394
+ /* ● Record looks the same in the bottom bar and in Studio: a red dot, plain text, the R in the accent */
395
+ /* ● Record looks the same in the bottom bar and in Studio: like the buttons beside it, with a red dot and
396
+ its R in the accent; on hover it fills red, dot, text and R in white */
397
+ #btn-record .rec-dot, #rv-rec .rec-dot, #setup-record .rec-dot{color:#ef4444;}
398
+ .btn.rec#rv-rec, .btn.rec#setup-record{color:var(--text);}
399
+ #navbar #btn-record:hover, .btn.rec#rv-rec:hover:not(:disabled), .btn.rec#setup-record:hover{background:#dc2626;border-color:#dc2626;color:#fff;}
400
+ #btn-record:hover .rec-dot, #btn-record:hover u.key, #rv-rec:hover:not(:disabled) .rec-dot, #rv-rec:hover:not(:disabled) u.key,
401
+ #setup-record:hover .rec-dot, #setup-record:hover u.key{color:#fff;}
402
+ @media (pointer:coarse){ #btn-record{display:none;} }
392
403
  /* phones and tablets can't record */
393
404
  @media (pointer:coarse){ #btn-studio{display:none;} }
394
405
  /* the bottom bar: Keys, Camera, Fullscreen, each in the accent while it is on */
@@ -407,6 +418,8 @@
407
418
  #review.in-browser #rv-novideo{display:none !important;}
408
419
  /* the takes screen records in this browser, or with OBS: each mode's own controls */
409
420
  #review.obs .for-browser, #review:not(.obs) .for-obs{display:none !important;}
421
+ /* Studio's dialog shows Studio or its Setup view, not both */
422
+ #review:not(.setup-view) #rv-setup-view, #review.setup-view .rv-grid{display:none;}
410
423
  #rec-countdown{
411
424
  position:fixed;inset:0;z-index:70;display:none;align-items:center;justify-content:center;flex-direction:column;gap:14px;
412
425
  background:rgba(4,7,13,.9);font-family:var(--display);color:var(--accent);
@@ -444,18 +457,32 @@
444
457
  .rv-none{font-size:12px;color:var(--text-muted);font-style:italic;}
445
458
  /* Recording setup: opened from the ⚙ Setup button at the top right, shown under the title */
446
459
  .modal .rv-setup-btn[aria-expanded="true"]{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, transparent);}
447
- #rv-setup{margin:12px 0 12px;border:1px solid var(--panel-line);border-radius:8px;padding:10px 14px;}
448
- #rv-setup > summary{display:none;}
449
- #rv-setup:not([open]){display:none;}
460
+ /* Setup, a view of Studio's dialog */
461
+ .setup-note{margin:0 0 10px;font-size:13px;color:var(--accent);}
462
+ #rv-setup{margin:8px 0 0;}
463
+ /* the chosen camera, live, as a recording would see it (mirrored like the camera box), and the mic's waveform */
464
+ .setup-cam{position:relative;aspect-ratio:16/9;background:#000;border-radius:8px;overflow:hidden;border:1px solid var(--panel-line);}
465
+ .setup-cam video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1);}
466
+ .setup-cam span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#a1a1aa;}
467
+ .setup-cam span[hidden]{display:none;}
468
+ .setup-wave{display:block;width:100%;height:60px;border-radius:8px;border:1px solid var(--panel-line);
469
+ background:color-mix(in srgb, var(--accent) 5%, transparent);}
470
+ .setup-actions{display:flex;justify-content:flex-start;gap:8px;margin-top:16px;}
450
471
  #review h2.rv-brand{display:flex;align-items:center;gap:8px;color:var(--text);}
451
472
  #review h2.rv-brand .logo{width:22px;height:22px;fill:var(--accent);flex:none;}
452
473
  #review h2.rv-brand .word > span{color:var(--accent);}
474
+ /* Slidetake Studio, Pro in pro mode, / Settings in the setup view, and the size as a chip */
475
+ #review h2 .rv-pro-tag{color:var(--accent);}
476
+ #review h2 .rv-settings-tag{color:var(--text-muted);font-weight:500;}
477
+ #review:not(.setup-view) h2 .rv-settings-tag, #review:not(.setup-view) #rv-pro{display:none;}
478
+ /* in Setup, ← Back and Pro only: Back returns to Studio, which has ✕ Close */
479
+ #review.setup-view .panel-actions .close{display:none;}
480
+ #review h2 .rv-size:empty{display:none;}
481
+ #review h2 .rv-size{font-family:var(--mono);font-size:11px;font-weight:600;color:var(--text-muted);border:1px solid var(--panel-line);border-radius:6px;padding:2px 7px;margin-left:4px;}
453
482
  .rv-using{align-self:center;max-width:34vw;font-family:var(--mono);font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
454
483
  #review h2{padding-right:calc(34vw + 200px);}
455
484
  @media (max-width:900px){ .rv-using{display:none;} #review h2{padding-right:190px;} }
456
485
  /* three sections side by side: Camera, Microphone, Video; Use OBS at the top right */
457
- .rv-setup-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--panel-line);}
458
- .rv-setup-head h4{margin:0;font-family:var(--display);font-size:13px;color:var(--text-muted);}
459
486
  .rv-setup-cols{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:18px;}
460
487
  .rv-setup-cols section{display:flex;flex-direction:column;gap:8px;min-width:0;}
461
488
  .rv-setup-cols h4{margin:0;font-family:var(--display);font-size:13px;color:var(--text);}
@@ -691,7 +718,7 @@
691
718
  html.embed.no-record #navbar{display:flex;}
692
719
  html.embed.no-record #navbar > :not(.touch-only){display:none !important;}
693
720
  }
694
- html.no-record #btn-camera, html.no-record #btn-studio, html.no-record #pip, html.no-record #help tr.rec{display:none !important;}
721
+ html.no-record #btn-camera, html.no-record #btn-studio, html.no-record #btn-record, html.no-record #pip, html.no-record #help tr.rec{display:none !important;}
695
722
  /* the logo written into a heading: # ![](/favicon.svg) Slidetake */
696
723
  .node .body :is(h1,h2) img[src$="favicon.svg"]{height:1em;width:auto;vertical-align:-.12em;margin-right:.25em;display:inline;}
697
724
  #brand .st-mark{display:inline-flex;align-items:center;gap:8px;font-family:var(--display);font-weight:700;font-size:20px;color:var(--text);}
@@ -723,6 +750,12 @@
723
750
  /* full: the camera takes the whole stage, under the brand and the controls */
724
751
  /* it also swallows clicks, so a click can't land on the hidden cards behind it */
725
752
  #pip.full{inset:0;width:100% !important;height:100%;aspect-ratio:auto;border-radius:0;z-index:9;pointer-events:auto;}
753
+ /* behind: the camera fills the frame under the slides, which stay on top as cards; the stage's dotted
754
+ background makes way so the camera shows around them */
755
+ #pip.full.behind{z-index:0;pointer-events:none;box-shadow:none;}
756
+ #stage-wrap.cam-behind #stage{z-index:1;background:transparent;}
757
+ /* only the slide being presented shows over the camera: no neighbouring cards or lines around it */
758
+ #stage-wrap.cam-behind div.node:not(.current), #stage-wrap.cam-behind #connectors{opacity:0;transition:opacity .3s;}
726
759
  /* while presenting the box is empty so the camera overlay sits on plain background */
727
760
  /* while presenting, the empty box stays as a faint guide for lining up a camera overlay */
728
761
  body.presenting #pip{border-color:color-mix(in srgb, var(--accent-teal) 30%, transparent);background:none;}
@@ -776,27 +809,157 @@
776
809
  <body>
777
810
  <article id="deck-text" class="deck-text">
778
811
  <h1><img src="/favicon.svg" alt=""> Slide<span class="st-take">take</span></h1>
779
- <p><strong>Write in markdown, with AI. Present on a spatial canvas. Record without timeline editing.</strong></p>
780
- <p>Any AI writes the deck for you: it&#39;s plain markdown. For developers and technical educators who explain things on video. You&#39;re inside a Slidetake deck right now. Press → to walk it, <strong>O</strong> for the map.</p>
781
- <h2>⏱️ Hours, not days</h2>
812
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 290" font-family="IBM Plex Sans, system-ui, sans-serif">
813
+ <defs>
814
+ <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">
815
+ <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>
816
+ </marker>
817
+ </defs>
818
+
819
+
820
+ <g style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5">
821
+ <rect x="14" y="10" width="212" height="270" rx="18"/>
822
+ <rect x="254" y="10" width="212" height="270" rx="18"/>
823
+ <rect x="494" y="10" width="212" height="270" rx="18"/>
824
+ <rect x="734" y="10" width="212" height="270" rx="18"/>
825
+ </g>
826
+ <g fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)">
827
+ <path d="M228 110 H251"/><path d="M468 110 H491"/><path d="M708 110 H731"/>
828
+ </g>
829
+
830
+
831
+ <rect x="66" y="36" width="104" height="140" rx="11" style="fill:var(--node-bg);stroke:var(--accent)" stroke-width="2"/>
832
+ <g font-family="IBM Plex Mono, monospace" font-size="13" font-weight="600" style="fill:var(--accent)">
833
+ <text x="78" y="62">#</text><text x="78" y="112">##</text>
834
+ </g>
835
+ <g style="fill:var(--text-muted)" opacity=".55">
836
+ <rect x="92" y="53" width="52" height="9" rx="4.5"/>
837
+ <rect x="78" y="74" width="80" height="6" rx="3"/><rect x="78" y="86" width="60" height="6" rx="3"/>
838
+ <rect x="100" y="103" width="46" height="9" rx="4.5"/>
839
+ <rect x="78" y="124" width="80" height="6" rx="3"/><rect x="78" y="136" width="68" height="6" rx="3"/><rect x="78" y="148" width="50" height="6" rx="3"/>
840
+ </g>
841
+ <path d="M176 28 l6 14 14 6 -14 6 -6 14 -6 -14 -14 -6 14 -6z" style="fill:var(--accent)"/>
842
+
843
+
844
+ <g fill="none" style="stroke:var(--accent);stroke-opacity:.6" stroke-width="2">
845
+ <path d="M310 58 H320 M358 58 H368 M387 71 V92 M406 105 H416"/>
846
+ </g>
847
+ <g style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent);stroke-opacity:.7" stroke-width="1.5">
848
+ <rect x="272" y="45" width="38" height="26" rx="6"/><rect x="320" y="45" width="38" height="26" rx="6"/>
849
+ <rect x="368" y="45" width="38" height="26" rx="6"/><rect x="368" y="92" width="38" height="26" rx="6"/>
850
+ <rect x="416" y="92" width="38" height="26" rx="6"/>
851
+ </g>
852
+ <rect x="358" y="82" width="58" height="46" rx="9" fill="none" style="stroke:var(--accent)" stroke-width="3"/>
853
+ <rect x="368" y="92" width="38" height="26" rx="6" style="fill:var(--accent);fill-opacity:.45"/>
854
+ <g style="fill:var(--text-muted)" font-size="12">
855
+ <text x="272" y="156">→ walks the path</text><text x="272" y="174">O zooms out to all</text>
856
+ </g>
857
+
858
+
859
+ <circle cx="600" cy="62" r="24" fill="none" stroke="#ef4444" stroke-opacity=".45" stroke-width="2"/>
860
+ <circle cx="600" cy="62" r="14" fill="#ef4444"/>
861
+ <g font-size="13" text-anchor="middle">
862
+ <rect x="522" y="102" width="156" height="30" rx="15" style="fill:var(--node-bg)"/>
863
+ <rect x="522" y="102" width="156" height="30" rx="15" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="1.5"/>
864
+ <text x="600" y="122" fill="currentColor"><tspan font-weight="600">Easy</tspan> · Chrome</text>
865
+ <rect x="522" y="142" width="156" height="30" rx="15" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.6" stroke-width="1.5"/>
866
+ <text x="600" y="162" fill="currentColor"><tspan font-weight="600">Pro</tspan> · OBS</text>
867
+ </g>
868
+
869
+
870
+ <g font-size="12" text-anchor="middle">
871
+ <rect x="752" y="36" width="96" height="27" rx="8" fill="none" style="stroke:var(--text-muted);stroke-opacity:.6" stroke-width="1.5" stroke-dasharray="4 4"/>
872
+ <text x="800" y="54" style="fill:var(--text-muted)">Take 1</text>
873
+ <rect x="752" y="72" width="96" height="27" rx="8" style="fill:var(--node-bg)"/>
874
+ <rect x="752" y="72" width="96" height="27" rx="8" style="fill:var(--accent);fill-opacity:.15;stroke:var(--accent)" stroke-width="2"/>
875
+ <text x="800" y="90" fill="currentColor">Take 2 ✓</text>
876
+ </g>
877
+ <path d="M850 86 C878 86 884 96 884 108" fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)"/>
878
+ <rect x="836" y="112" width="92" height="60" rx="10" style="fill:var(--node-bg);stroke:var(--accent)" stroke-width="2"/>
879
+ <path d="M874 130 l16 12 -16 12z" style="fill:var(--accent)"/>
880
+
881
+
882
+ <g text-anchor="middle" fill="currentColor">
883
+ <text x="120" y="222" font-size="20" font-weight="700">Write</text>
884
+ <text x="120" y="248" font-size="14" style="fill:var(--text-muted)">in markdown, with AI</text>
885
+ <text x="360" y="222" font-size="20" font-weight="700">Present</text>
886
+ <text x="360" y="248" font-size="14" style="fill:var(--text-muted)">on a spatial canvas</text>
887
+ <text x="600" y="222" font-size="20" font-weight="700">Record</text>
888
+ <text x="600" y="248" font-size="14" style="fill:var(--text-muted)">slide by slide, retake any</text>
889
+ <text x="840" y="222" font-size="20" font-weight="700">Edit</text>
890
+ <text x="840" y="248" font-size="14" style="fill:var(--text-muted)">just pick the best take</text>
891
+ </g>
892
+ </svg>
893
+
894
+ <p style="text-align:center">For developers and technical educators who explain things on video. You're inside a Slidetake deck right now.</p>
895
+
896
+ <h3>⏱️ Hours, not days</h3>
782
897
  <p>A video that takes two or three days to script, record and edit takes a couple of hours: an AI writes the deck, you record it slide by slide, and pick the best take of each in Studio. What comes out is ready to upload.</p>
783
- <h2>✂️ Record without timeline editing</h2>
784
- <p><strong>Every slide is a take.</strong> Stumbled on a slide? Press ← and say it again: every attempt is kept, and recording carries on. The slide is the timeline marker, so a fumbled line costs one press, not an editing session.</p>
785
- <h3>Record right here, nothing to install</h3>
786
- <p>Press <strong>● Studio</strong>, then <strong><span class="st-rec">● Record</span></strong>, and the deck records itself, in Chrome, Edge or another Chromium browser: your slides and camera in one 16:9 frame, at 1080p. Or let <strong><a href="https://obsproject.com">OBS Studio</a></strong> record while the deck drives it, from any browser. No scenes to switch, no recording to watch.</p>
787
- <h3>Pick the best take</h3>
788
- <p>Choose the best take of each slide in <strong>● Studio</strong>. It joins them into the final video in seconds (or writes the <strong><a href="https://ffmpeg.org">ffmpeg</a></strong> cut for OBS), at YouTube&#39;s loudness, with the <strong>chapters</strong> to paste.</p>
789
- <h2>🗺️ A map, not a stack</h2>
790
- <p>Your headings are the hierarchy: zoom out for the whole system, zoom in for one part. This slide just showed you the map.</p>
791
- <h3>Headings become cards</h3>
792
- <p><code>#</code> is the first card, <code>##</code> branches from it, <code>###</code> goes a level deeper. No layout to draw.</p>
793
- <h3>A path your viewer can follow</h3>
794
- <p>→ always walks the same order, and <strong>path</strong> lays it out as a staircase, so the audience never loses its place.</p>
795
- <h2>🎥 The camera is part of the deck</h2>
796
- <p>A comment in a slide moves you: corner, full screen, or off. Turn on <strong>Camera</strong> and watch this slide do it.</p>
797
- <h2>✍️ Plain markdown in</h2>
798
- <p><strong>Pure text, so an AI iterates fast.</strong> Ask for a change and the whole deck is rewritten in seconds: no layouts to drag, no files to export.</p>
799
- <p>Markdown you already know: headings, lists, tables, code, steps, diagrams (Graphviz, D2, SVG), charts, images and YouTube links. <a href="/showcase">See them all in the showcase →</a></p>
898
+ <h2>✍️ Write in markdown, with AI {#ai}</h2>
899
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 380" font-family="IBM Plex Sans, system-ui, sans-serif">
900
+ <defs>
901
+ <filter id="glow" x="-30%" y="-30%" width="160%" height="160%">
902
+ <feGaussianBlur stdDeviation="9"/>
903
+ </filter>
904
+ <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">
905
+ <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>
906
+ </marker>
907
+ </defs>
908
+
909
+
910
+ <g>
911
+ <rect x="16" y="40" width="196" height="150" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>
912
+ <path d="M114 70 l7 17 17 7 -17 7 -7 17 -7 -17 -17 -7 17 -7z" style="fill:var(--accent)"/>
913
+ <text x="114" y="150" text-anchor="middle" font-size="19" font-weight="600" fill="currentColor">Claude Code</text>
914
+ <text x="114" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">or any AI agent</text>
915
+ </g>
916
+ <g>
917
+ <rect x="262" y="34" width="196" height="162" rx="18" style="fill:var(--accent)" filter="url(#glow)" opacity=".1"/>
918
+ <rect x="262" y="40" width="196" height="150" rx="18" style="fill:var(--node-bg)"/>
919
+ <rect x="262" y="40" width="196" height="150" rx="18" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2.5"/>
920
+ <path d="M343 66 h26 l12 12 v34 h-38z" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linejoin="round"/>
921
+ <path d="M369 66 v12 h12" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linejoin="round"/>
922
+ <text x="360" y="150" text-anchor="middle" font-size="19" font-weight="600" font-family="IBM Plex Mono, monospace" fill="currentColor">deck.md</text>
923
+ <text x="360" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">text, dot, d2, echarts, svg</text>
924
+ </g>
925
+ <g>
926
+ <rect x="508" y="40" width="196" height="150" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>
927
+ <rect x="577" y="68" width="58" height="44" rx="7" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>
928
+ <path d="M588 82 l9 8 -9 8 M601 99 h12" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
929
+ <text x="606" y="150" text-anchor="middle" font-size="19" font-weight="600" font-family="IBM Plex Mono, monospace" fill="currentColor">npx slidetake</text>
930
+ <text x="606" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">serves it, watches the file</text>
931
+ </g>
932
+ <g>
933
+ <rect x="754" y="40" width="190" height="150" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>
934
+ <rect x="818" y="66" width="62" height="46" rx="7" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>
935
+ <path d="M818 78 h62" style="stroke:var(--accent)" stroke-width="2.5"/>
936
+ <circle cx="826" cy="72" r="1.8" style="fill:var(--accent)"/><circle cx="833" cy="72" r="1.8" style="fill:var(--accent)"/>
937
+ <rect x="828" y="86" width="22" height="16" rx="3" style="fill:var(--accent);fill-opacity:.55"/>
938
+ <text x="849" y="150" text-anchor="middle" font-size="19" font-weight="600" fill="currentColor">Chrome</text>
939
+ <text x="849" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">redraws the slide you're on</text>
940
+ </g>
941
+
942
+
943
+ <path d="M214 115 H256" fill="none" style="stroke:var(--accent)" stroke-width="3" marker-end="url(#head)"/>
944
+ <path d="M460 115 H502" fill="none" style="stroke:var(--accent)" stroke-width="3" marker-end="url(#head)"/>
945
+ <path d="M706 115 H748" fill="none" style="stroke:var(--accent)" stroke-width="3" marker-end="url(#head)"/>
946
+ <text x="237" y="104" text-anchor="middle" font-size="12" style="fill:var(--text-muted)">writes</text>
947
+ <text x="483" y="104" text-anchor="middle" font-size="12" style="fill:var(--text-muted)">saved</text>
948
+ <text x="729" y="104" text-anchor="middle" font-size="12" style="fill:var(--text-muted)">reloads</text>
949
+
950
+
951
+ <path d="M849 196 C849 300 780 330 480 330 C180 330 114 300 114 202" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-dasharray="7 7" marker-end="url(#head)"/>
952
+ <rect x="300" y="306" width="360" height="48" rx="24" style="fill:var(--node-bg)"/>
953
+ <rect x="300" y="306" width="360" height="48" rx="24" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="1.5"/>
954
+ <text x="480" y="336" text-anchor="middle" font-size="16" fill="currentColor">You: <tspan font-style="italic">“make the chart a donut”</tspan></text>
955
+ <text x="480" y="22" text-anchor="middle" font-size="13" font-weight="600" letter-spacing="2" style="fill:var(--accent)">EACH ROUND TRIP TAKES SECONDS</text>
956
+ </svg>
957
+
958
+ <p>Ask your AI for a change, and see it on the slide you&#39;re on in seconds.</p>
959
+ <h3>Real diagrams and charts, as text</h3>
960
+ <p>AI already writes <strong>Graphviz</strong>, <strong>D2</strong>, <strong>ECharts</strong> and <strong>SVG</strong> well, so they arrive in the same reply as the words, drawn in your deck&#39;s colours for dark and light, and changed by asking. The diagram before this slide is one: SVG inside the markdown. Headings, lists, tables, code, steps, images and YouTube links too: <a href="/showcase">see them all in the showcase →</a></p>
961
+ <h3>Fewer tokens, nothing to fix</h3>
962
+ <p>The AI writes only content: headings, text and a few comments. Slidetake does the rest: card sizes, the map, the camera moves. No CSS or layout code to generate, and none to repair.</p>
800
963
  <h3>A few comments do the rest</h3>
801
964
  <p>Markdown has no word for &quot;reveal one at a time&quot; or &quot;move the camera&quot;, so a handful of HTML comments say it. They stay invisible anywhere else markdown is read:</p>
802
965
  <pre><code class="language-md"> ← one press each
@@ -804,18 +967,147 @@
804
967
  ← the map first
805
968
  ← a big image
806
969
  </code></pre>
807
- <h2>🎨 Your colours</h2>
970
+ <h2>🗺️ Present on a spatial canvas</h2>
971
+ <pre><code class="language-dot">digraph {
972
+ rankdir=LR nodesep=0.25 ranksep=0.7
973
+ node [shape=box style=rounded margin=&quot;0.3,0.1&quot; fontsize=16 fontname=&quot;IBM Plex Mono&quot;]
974
+ edge [arrowsize=0.7]
975
+ talk [label=&quot;# Talk&quot;] why [label=&quot;## Why&quot;] how [label=&quot;## How&quot;]
976
+ demo [label=&quot;## Demo&quot;] detail [label=&quot;### Detail&quot;]
977
+ talk -&gt; {why how demo}
978
+ why -&gt; detail
979
+ }
980
+ </code></pre>
981
+ <p>Your headings are the hierarchy: <code>#</code> is the first card, <code>##</code> branches from it, <code>###</code> goes a level deeper. Slidetake lays it out as a map you move through: → walks the path, and <strong>O</strong> zooms out to the whole talk, as this slide just did. The diagram is Graphviz, written as text in the deck.</p>
982
+ <h3>The camera is part of the deck</h3>
983
+ <p>A comment in a slide moves you: corner, full screen, or off. Turn on <strong>Camera</strong> and watch this slide do it.</p>
984
+ <h3>Your colours</h3>
808
985
  <p>One line, <code>accent: &quot;#3b82f6&quot;</code>, gives a deck its own colour, shaded for dark and light. On your website, decks wear your site&#39;s palette.</p>
809
986
  <p><code>brand:</code> and <code>logo:</code> put your name and logo in the corner of every slide, so every frame of the video carries them.</p>
987
+ <h2>🔴 Record slide by slide</h2>
988
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 190" font-family="IBM Plex Sans, system-ui, sans-serif">
989
+
990
+ <rect x="14" y="10" width="452" height="170" rx="18" style="fill:var(--accent);fill-opacity:.1;stroke:var(--accent)" stroke-width="2"/>
991
+ <rect x="38" y="52" width="92" height="68" rx="9" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>
992
+ <path d="M38 70 H130" style="stroke:var(--accent)" stroke-width="2.5"/>
993
+ <circle cx="48" cy="61" r="2.2" style="fill:var(--accent)"/><circle cx="57" cy="61" r="2.2" style="fill:var(--accent)"/>
994
+ <circle cx="84" cy="95" r="10" fill="#ef4444"/>
995
+ <text x="156" y="58" font-size="21" font-weight="700" style="fill:var(--accent)">Easy mode</text>
996
+ <text x="156" y="88" font-size="15" fill="currentColor">Chrome or Edge, nothing to install</text>
997
+ <text x="156" y="114" font-size="15" fill="currentColor">The deck records itself: slides and</text>
998
+ <text x="156" y="136" font-size="15" fill="currentColor">camera in one 16:9 frame, at 1080p</text>
999
+
1000
+
1001
+ <rect x="494" y="10" width="452" height="170" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.5" stroke-width="1.5"/>
1002
+ <circle cx="564" cy="86" r="36" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>
1003
+ <circle cx="564" cy="86" r="10" fill="#ef4444"/>
1004
+ <text x="626" y="58" font-size="21" font-weight="700" style="fill:var(--accent)">Pro mode</text>
1005
+ <text x="626" y="88" font-size="15" fill="currentColor">OBS Studio, from any browser</text>
1006
+ <text x="626" y="114" font-size="15" fill="currentColor">The deck starts and stops it, and</text>
1007
+ <text x="626" y="136" font-size="15" fill="currentColor">drives every slide: you only talk</text>
1008
+ </svg>
1009
+
1010
+ <p>Press <strong><span class="st-rec">● Record</span></strong> (R). <strong>Every slide is a take:</strong> stumbled? Press ← and say it again. Every attempt is kept, and recording carries on.</p>
1011
+ <h2>✂️ Edit by picking the best take</h2>
1012
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 360" font-family="IBM Plex Sans, system-ui, sans-serif">
1013
+ <defs>
1014
+ <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">
1015
+ <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>
1016
+ </marker>
1017
+ </defs>
1018
+ <text x="480" y="20" text-anchor="middle" font-size="13" font-weight="600" letter-spacing="2" style="fill:var(--accent)">EVERY ATTEMPT IS KEPT · PICK ONE PER SLIDE</text>
1019
+
1020
+
1021
+ <g font-size="15" font-weight="600" text-anchor="middle" fill="currentColor">
1022
+ <text x="140" y="56">Slide 1</text><text x="380" y="56">Slide 2</text><text x="620" y="56">Slide 3</text><text x="860" y="56">Slide 4</text>
1023
+ </g>
1024
+
1025
+
1026
+ <g font-size="14" text-anchor="middle">
1027
+ <rect x="55" y="72" width="170" height="40" rx="10" style="fill:var(--node-bg)"/>
1028
+ <rect x="55" y="72" width="170" height="40" rx="10" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>
1029
+ <text x="140" y="97" fill="currentColor">Take 1 ✓</text>
1030
+
1031
+ <pre><code>&lt;rect x=&quot;295&quot; y=&quot;72&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; fill=&quot;none&quot; style=&quot;stroke:var(--text-muted);stroke-opacity:.5&quot; stroke-width=&quot;1.5&quot; stroke-dasharray=&quot;5 4&quot;/&gt;
1032
+ &lt;text x=&quot;380&quot; y=&quot;97&quot; style=&quot;fill:var(--text-muted)&quot;&gt;Take 1&lt;/text&gt;
1033
+ &lt;text x=&quot;380&quot; y=&quot;134&quot; font-size=&quot;13&quot; font-weight=&quot;600&quot; style=&quot;fill:var(--accent)&quot;&gt;← again&lt;/text&gt;
1034
+ &lt;rect x=&quot;295&quot; y=&quot;146&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; style=&quot;fill:var(--node-bg)&quot;/&gt;
1035
+ &lt;rect x=&quot;295&quot; y=&quot;146&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; style=&quot;fill:var(--accent);fill-opacity:.12;stroke:var(--accent)&quot; stroke-width=&quot;2&quot;/&gt;
1036
+ &lt;text x=&quot;380&quot; y=&quot;171&quot; fill=&quot;currentColor&quot;&gt;Take 2 ✓&lt;/text&gt;
1037
+
1038
+ &lt;rect x=&quot;535&quot; y=&quot;72&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; style=&quot;fill:var(--node-bg)&quot;/&gt;
1039
+ &lt;rect x=&quot;535&quot; y=&quot;72&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; style=&quot;fill:var(--accent);fill-opacity:.12;stroke:var(--accent)&quot; stroke-width=&quot;2&quot;/&gt;
1040
+ &lt;text x=&quot;620&quot; y=&quot;97&quot; fill=&quot;currentColor&quot;&gt;Take 1 ✓&lt;/text&gt;
1041
+
1042
+ &lt;rect x=&quot;775&quot; y=&quot;72&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; fill=&quot;none&quot; style=&quot;stroke:var(--text-muted);stroke-opacity:.5&quot; stroke-width=&quot;1.5&quot; stroke-dasharray=&quot;5 4&quot;/&gt;
1043
+ &lt;text x=&quot;860&quot; y=&quot;97&quot; style=&quot;fill:var(--text-muted)&quot;&gt;Take 1&lt;/text&gt;
1044
+ &lt;text x=&quot;860&quot; y=&quot;134&quot; font-size=&quot;13&quot; font-weight=&quot;600&quot; style=&quot;fill:var(--accent)&quot;&gt;← again&lt;/text&gt;
1045
+ &lt;rect x=&quot;775&quot; y=&quot;146&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; fill=&quot;none&quot; style=&quot;stroke:var(--text-muted);stroke-opacity:.5&quot; stroke-width=&quot;1.5&quot; stroke-dasharray=&quot;5 4&quot;/&gt;
1046
+ &lt;text x=&quot;860&quot; y=&quot;171&quot; style=&quot;fill:var(--text-muted)&quot;&gt;Take 2&lt;/text&gt;
1047
+ &lt;text x=&quot;860&quot; y=&quot;208&quot; font-size=&quot;13&quot; font-weight=&quot;600&quot; style=&quot;fill:var(--accent)&quot;&gt;← again&lt;/text&gt;
1048
+ &lt;rect x=&quot;775&quot; y=&quot;220&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; style=&quot;fill:var(--node-bg)&quot;/&gt;
1049
+ &lt;rect x=&quot;775&quot; y=&quot;220&quot; width=&quot;170&quot; height=&quot;40&quot; rx=&quot;10&quot; style=&quot;fill:var(--accent);fill-opacity:.12;stroke:var(--accent)&quot; stroke-width=&quot;2&quot;/&gt;
1050
+ &lt;text x=&quot;860&quot; y=&quot;245&quot; fill=&quot;currentColor&quot;&gt;Take 3 ✓&lt;/text&gt;
1051
+ </code></pre>
1052
+ </g>
1053
+
1054
+
1055
+ <g fill="none" style="stroke:var(--accent)" stroke-width="2" marker-end="url(#head)">
1056
+ <path d="M140 114 V292"/><path d="M380 188 V292"/><path d="M620 114 V292"/><path d="M860 262 V292"/>
1057
+ </g>
1058
+ <rect x="20" y="298" width="920" height="44" rx="12" style="fill:var(--accent);fill-opacity:.18;stroke:var(--accent)" stroke-width="2"/>
1059
+ <g style="stroke:var(--accent)" stroke-width="2"><path d="M260 298 V342 M500 298 V342 M740 298 V342"/></g>
1060
+ <g font-size="14" fill="currentColor" font-family="IBM Plex Mono, monospace">
1061
+ <text x="36" y="325">0:00 Slide 1</text><text x="276" y="325">Slide 2</text><text x="516" y="325">Slide 3</text><text x="756" y="325">Slide 4</text>
1062
+ </g>
1063
+ <text x="924" y="325" text-anchor="end" font-size="13" font-weight="600" style="fill:var(--accent)">one video</text>
1064
+ </svg>
1065
+
1066
+ <p><strong>Pick the best of each</strong> in ● Studio: one video in seconds, at YouTube&#39;s loudness, with <strong>chapters</strong> to paste. With OBS, an <strong><a href="https://ffmpeg.org">ffmpeg</a></strong> cut.</p>
810
1067
  <h2>🌐 Run it anywhere</h2>
811
1068
  <p>Three places, one deck format: a markdown file.</p>
812
- <h3>slidetake.com: write, record, share</h3>
1069
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 320" font-family="IBM Plex Sans, system-ui, sans-serif">
1070
+ <defs>
1071
+ <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">
1072
+ <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>
1073
+ </marker>
1074
+ <filter id="glow" x="-30%" y="-30%" width="160%" height="160%"><feGaussianBlur stdDeviation="9"/></filter>
1075
+ </defs>
1076
+
1077
+
1078
+ <rect x="40" y="104" width="230" height="112" rx="18" style="fill:var(--accent)" filter="url(#glow)" opacity=".1"/>
1079
+ <rect x="40" y="110" width="230" height="100" rx="18" style="fill:var(--node-bg)"/>
1080
+ <rect x="40" y="110" width="230" height="100" rx="18" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2.5"/>
1081
+ <path d="M74 136 h22 l10 10 v30 h-32z M96 136 v10 h10" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linejoin="round"/>
1082
+ <text x="122" y="160" font-size="21" font-weight="600" font-family="IBM Plex Mono, monospace" fill="currentColor">deck.md</text>
1083
+ <text x="122" y="184" font-size="13" style="fill:var(--text-muted)">one markdown file</text>
1084
+
1085
+ <g fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)">
1086
+ <path d="M272 150 C380 150 400 62 498 62"/>
1087
+ <path d="M272 160 H498"/>
1088
+ <path d="M272 170 C380 170 400 258 498 258"/>
1089
+ </g>
1090
+
1091
+ <g>
1092
+ <rect x="504" y="20" width="430" height="84" rx="16" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>
1093
+ <text x="526" y="54" font-size="18" font-weight="600" fill="currentColor">slidetake.com</text>
1094
+ <text x="526" y="80" font-size="13" style="fill:var(--text-muted)">write, open from a link, record in ● Studio, share</text>
1095
+ <rect x="504" y="118" width="430" height="84" rx="16" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>
1096
+ <text x="526" y="152" font-size="18" font-weight="600" fill="currentColor">Your computer · <tspan font-family="IBM Plex Mono, monospace" font-size="16">npx slidetake</tspan></text>
1097
+ <text x="526" y="178" font-size="13" style="fill:var(--text-muted)">the AI loop, local images, edits saved to the file</text>
1098
+ <rect x="504" y="216" width="430" height="84" rx="16" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>
1099
+ <text x="526" y="250" font-size="18" font-weight="600" fill="currentColor">Your website · <tspan font-family="IBM Plex Mono, monospace" font-size="16">slidetake.js</tspan></text>
1100
+ <text x="526" y="276" font-size="13" style="fill:var(--text-muted)">a viewer for your readers, in your site's colours</text>
1101
+ </g>
1102
+ </svg>
1103
+
1104
+ <h3>slidetake.com: write, present, record, edit and share</h3>
813
1105
  <p>Write a deck in the <strong>✎ Editor</strong>, or view one straight from a link: a GitHub file, a gist or any markdown URL. Record it and cut the video in <strong>● Studio</strong>, in the same tab. <strong>Share</strong> a link with the deck inside it. Nothing to install.</p>
814
1106
  <h3>Your computer: all that, plus AI</h3>
815
1107
  <p>The same app on your own files, offline:</p>
816
1108
  <pre><code class="language-sh">npx slidetake deck.md
817
1109
  </code></pre>
818
- <p>Images next to the markdown load as they are. Save in any editor and the deck reloads where you are; type in the browser and it saves to the file. So an AI agent can write <code>deck.md</code> while you watch it take shape.</p>
1110
+ <p>Images next to the markdown load as they are. Save in any editor and the deck reloads where you are; type in the browser and it saves to the file. That&#39;s <a href="#ai">the AI loop</a>: an agent writes <code>deck.md</code> while you watch it take shape.</p>
819
1111
  <h3>Your website: a viewer for your readers</h3>
820
1112
  <p><code>slidetake.js</code> puts decks inside your own pages, in your site&#39;s colours: a clean viewer, nothing else to set up. Record the same markdown here or with <code>npx slidetake</code>.</p>
821
1113
  <h2><span class="st-heart" aria-hidden="true"></span> Open source</h2>
@@ -848,8 +1140,8 @@
848
1140
  </div>
849
1141
  <button class="btn icon" id="btn-analytics" title="Privacy &amp; analytics" aria-label="Privacy &amp; analytics" hidden><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/></svg></button>
850
1142
  <button class="btn icon" id="btn-mode" title="Light / dark (L)" aria-label="Light / dark"></button>
851
- <button class="btn" id="btn-edit-toggle" title="Editor: write, open, share (E)">✎ Editor</button>
852
- <button class="btn" id="btn-studio" title="Slidetake Studio: record, review, download (R)"><span class="rec-dot" aria-hidden="true">●</span> Studio</button>
1143
+ <button class="btn" id="btn-edit-toggle" title="Editor: write, open, share (E)">✎ <span><u class="key">E</u>ditor</span></button>
1144
+ <button class="btn" id="btn-studio" title="Slidetake Studio: pick takes, redo slides, download (S)"><span class="rec-dot" aria-hidden="true">●</span> <span><u class="key">S</u>tudio</span></button>
853
1145
  </div>
854
1146
  </header>
855
1147
 
@@ -862,11 +1154,12 @@
862
1154
  </div>
863
1155
  <div id="breadcrumbs"></div>
864
1156
  <div id="navbar">
865
- <button id="btn-keys" title="Keyboard shortcuts (K)" aria-pressed="false">⌨<span class="lbl"> Keys</span></button>
1157
+ <button id="btn-keys" title="Keyboard shortcuts (K)" aria-pressed="false">⌨<span class="lbl"> <u class="key">K</u>eys</span></button>
866
1158
  <button id="nav-prev" class="touch-only" title="Previous (←)" aria-label="Previous">←</button>
867
1159
  <button id="nav-next" class="touch-only" title="Next (→)" aria-label="Next">→</button>
868
1160
  <button id="btn-camera" title="Camera (C)" aria-pressed="false"></button>
869
- <button id="btn-present" title="Fullscreen (F)" aria-pressed="false">⛶<span class="lbl"> Fullscreen</span></button>
1161
+ <button id="btn-record" title="Record (R): the slides without a take, or from this slide on when every slide has one"><span class="rec-dot" aria-hidden="true">●</span><span class="lbl"> <u class="key">R</u>ecord</span></button>
1162
+ <button id="btn-present" title="Fullscreen (F)" aria-pressed="false">⛶<span class="lbl"> <u class="key">F</u>ullscreen</span></button>
870
1163
  </div>
871
1164
  <div id="progress" aria-hidden="true"></div>
872
1165
  <div id="minimap"><div class="mm-label" id="mm-label">map</div><svg id="mm-svg" width="180" height="130"></svg></div>
@@ -897,19 +1190,23 @@
897
1190
  <button class="btn close" id="help-close">✕ Close</button>
898
1191
  <h2>Keys</h2>
899
1192
  <table class="keys">
900
- <tr><td><kbd>→</kbd> <kbd>←</kbd> <kbd>Space</kbd></td><td>next / previous step</td></tr>
1193
+ <tr><td><kbd>→</kbd> <kbd>←</kbd> <kbd>Space</kbd></td><td>next / previous step (a clicker's <kbd>PgDn</kbd> <kbd>PgUp</kbd> too)</td></tr>
1194
+ <tr><td><kbd>Home</kbd> <kbd>End</kbd></td><td>first / last slide</td></tr>
901
1195
  <tr><td><kbd>↓</kbd> <kbd>↑</kbd></td><td>first child / parent</td></tr>
902
1196
  <tr><td><kbd>O</kbd></td><td>the whole map; <kbd>O</kbd> or <kbd>Esc</kbd> goes back</td></tr>
903
1197
  <tr><td><kbd>1</kbd>–<kbd>4</kbd></td><td>focus, path, radial, tree</td></tr>
904
1198
  <tr><td><kbd>F</kbd></td><td>fullscreen; <kbd>F</kbd> or <kbd>Esc</kbd> leaves</td></tr>
905
- <tr><td><kbd>+</kbd> <kbd>−</kbd></td><td>bigger / smaller slides</td></tr>
1199
+ <tr><td><kbd>+</kbd> <kbd>−</kbd></td><td>bigger / smaller slides (<kbd>=</kbd> works for <kbd>+</kbd>)</td></tr>
906
1200
  <tr class="edit"><td><kbd>E</kbd></td><td>editor: write, open, share</td></tr>
907
1201
  <tr><td><kbd>L</kbd></td><td>light / dark</td></tr>
908
- <tr class="rec"><td><kbd>C</kbd> <kbd>V</kbd> <kbd>R</kbd></td><td>camera, camera layouts, Studio (record)</td></tr>
909
- <tr><td><kbd>K</kbd> <kbd>?</kbd></td><td>this card; again or <kbd>Esc</kbd> closes it</td></tr>
1202
+ <tr class="rec"><td><kbd>C</kbd> <kbd>V</kbd></td><td>camera, camera layouts</td></tr>
1203
+ <tr class="rec"><td><kbd>R</kbd> <kbd>S</kbd></td><td>record (the slides without a take), Studio</td></tr>
1204
+ <tr class="rec"><td><kbd>←</kbd> <kbd>B</kbd> <kbd>Esc</kbd></td><td>while recording: take the slide again, pause, stop</td></tr>
1205
+ <tr class="rec"><td><kbd>P</kbd> <kbd>D</kbd></td><td>in Studio: preview, download</td></tr>
1206
+ <tr><td><kbd>K</kbd> <kbd>/</kbd> <kbd>?</kbd></td><td>this card; again or <kbd>Esc</kbd> closes it</td></tr>
910
1207
  </table>
911
1208
  <p>Drag to pan, scroll or pinch to zoom, click a card to fly to it.</p>
912
- <p><a href="https://slidetake.com/docs" target="_blank" rel="noopener">The docs →</a> writing decks, sharing, recording, camera, review and cut.</p>
1209
+ <p><a href="https://slidetake.com/docs" target="_blank" rel="noopener">The docs →</a> write, present, record, edit and share, step by step.</p>
913
1210
  </div>
914
1211
  </div>
915
1212
 
@@ -972,98 +1269,93 @@
972
1269
  <div class="panel xwide">
973
1270
  <div class="panel-actions">
974
1271
  <span class="rv-using" id="rv-using"></span>
975
- <button class="btn rv-setup-btn" id="rv-setup-btn" aria-expanded="false" aria-controls="rv-setup">⚙ Setup</button>
1272
+ <button class="btn toggle" id="rv-pro" aria-pressed="false" title="Pro mode: record with OBS">Pro</button>
1273
+ <button class="btn rv-setup-btn" id="rv-setup-btn" aria-expanded="false" aria-controls="rv-setup-view">⚙ Setup</button>
976
1274
  <button class="btn close" data-close>✕ Close</button>
977
1275
  </div>
978
- <h2 id="rv-title" class="rv-brand"><svg class="logo" viewBox="0 0 64 64" aria-hidden="true"><path d="M 10 8 H 38 C 41.3 8 44 10.7 44 14 V 18 H 22 C 16.5 18 12 22.5 12 28 V 36 H 10 C 6.7 36 4 33.3 4 30 V 14 C 4 10.7 6.7 8 10 8 Z" opacity="0.4"/><path fill-rule="evenodd" d="M 22 22 H 54 C 57.3 22 60 24.7 60 28 V 50 C 60 53.3 57.3 56 54 56 H 22 C 18.7 56 16 53.3 16 50 V 28 C 16 24.7 18.7 22 22 22 Z M 26 34 C 28.2 34 30 32.2 30 30 C 30 27.8 28.2 26 26 26 C 23.8 26 22 27.8 22 30 C 22 32.2 23.8 34 26 34 Z M 38 40 C 36.9 40 36 40.9 36 42 V 48 C 36 49.1 36.9 50 38 50 H 50 C 51.1 50 52 49.1 52 48 V 42 C 52 40.9 51.1 40 50 40 H 38 Z"/></svg><span class="word">Slide<span>take</span></span> Studio</h2>
979
- <details id="rv-setup">
980
- <summary>Recording setup</summary>
981
- <div class="rv-setup-head">
982
- <h4 class="for-browser">Easy mode: record in <span class="browser-name">this browser</span></h4><h4 class="for-obs">Pro mode: record with OBS</h4>
983
- <button class="btn small for-browser" id="rv-use-obs" title="Record with OBS instead of in this browser">Use pro mode (OBS)</button>
984
- <button class="btn small for-obs" id="rv-use-browser" title="Record in this browser instead of with OBS"><span>Use easy mode (<span class="browser-name">this browser</span>)</span></button>
985
- </div>
986
- <div class="rv-setup-cols">
987
- <section class="for-obs">
988
- <h4>OBS</h4>
989
- <div class="rv-obs-fields">
990
- <input type="text" id="obs-host" value="localhost" spellcheck="false" aria-label="Host" title="Host">
991
- <input type="text" id="obs-port" value="4455" inputmode="numeric" aria-label="Port" title="Port">
992
- <input type="password" id="obs-pass" autocomplete="off" placeholder="Password" aria-label="Password">
993
- </div>
994
- <div class="rv-setup-row">
995
- <button class="btn small" id="obs-connect">Connect</button>
996
- <label class="check rv-setup-label"><input type="checkbox" id="obs-remember"> Remember</label>
997
- <span class="rv-setup-gap"></span>
998
- <span id="obs-status">Not connected</span>
999
- </div>
1000
- <p class="rv-setup-note" id="obs-detail" hidden></p>
1001
- <p class="rv-setup-note">In OBS: Tools → WebSocket Server Settings → enable it (the port and password are there). Point OBS at this browser window plus your microphone; no scenes needed.</p>
1002
- </section>
1003
- <section>
1004
- <h4>Camera</h4>
1005
- <select id="rec-cam" aria-label="Camera"></select>
1006
- <p class="rv-setup-note">Turns on by itself when recording starts. Choose No camera for slides only.</p>
1007
- </section>
1008
- <section class="for-browser">
1009
- <h4>Microphone</h4>
1010
- <select id="rec-mic" aria-label="Microphone"></select>
1011
- <meter id="rec-meter" min="0" max="1" low="0.1" high="0.8" optimum="0.5" value="0" aria-label="Mic level"></meter>
1012
- <div class="rv-setup-row">
1013
- <span class="rv-setup-label">Sound</span>
1014
- <div class="seg small" role="radiogroup" aria-label="Sound">
1015
- <button class="seg-btn" data-sound="raw" role="radio" title="No processing: best for a good mic in a quiet room">Raw</button>
1016
- <button class="seg-btn" data-sound="voice" role="radio" title="Chrome's noise suppression: takes out fans, hum and other steady noise">Voice</button>
1276
+ <h2 id="rv-title" class="rv-brand"><svg class="logo" viewBox="0 0 64 64" aria-hidden="true"><path d="M 10 8 H 38 C 41.3 8 44 10.7 44 14 V 18 H 22 C 16.5 18 12 22.5 12 28 V 36 H 10 C 6.7 36 4 33.3 4 30 V 14 C 4 10.7 6.7 8 10 8 Z" opacity="0.4"/><path fill-rule="evenodd" d="M 22 22 H 54 C 57.3 22 60 24.7 60 28 V 50 C 60 53.3 57.3 56 54 56 H 22 C 18.7 56 16 53.3 16 50 V 28 C 16 24.7 18.7 22 22 22 Z M 26 34 C 28.2 34 30 32.2 30 30 C 30 27.8 28.2 26 26 26 C 23.8 26 22 27.8 22 30 C 22 32.2 23.8 34 26 34 Z M 38 40 C 36.9 40 36 40.9 36 42 V 48 C 36 49.1 36.9 50 38 50 H 50 C 51.1 50 52 49.1 52 48 V 42 C 52 40.9 51.1 40 50 40 H 38 Z"/></svg><span class="word">Slide<span>take</span></span> Studio<span class="rv-pro-tag for-obs">Pro</span><span class="rv-settings-tag"> / Settings</span><span class="rv-size" id="rv-size"></span></h2>
1277
+ <div id="rv-setup-view">
1278
+ <p class="setup-note" id="setup-note" hidden></p>
1279
+ <div id="rv-setup">
1280
+ <div class="rv-setup-cols">
1281
+ <section class="for-obs">
1282
+ <h4>OBS</h4>
1283
+ <div class="rv-obs-fields">
1284
+ <input type="text" id="obs-host" value="localhost" spellcheck="false" aria-label="Host" title="Host">
1285
+ <input type="text" id="obs-port" value="4455" inputmode="numeric" aria-label="Port" title="Port">
1286
+ <input type="password" id="obs-pass" autocomplete="off" placeholder="Password" aria-label="Password">
1017
1287
  </div>
1018
- <span class="rv-setup-gap"></span>
1019
- <button class="btn small toggle rv-loud" id="rv-loud" aria-pressed="true" title="Raises the video towards YouTube's volume (-14 LUFS), stopping before the loudest peak would clip"><span class="ico" aria-hidden="true">🔊</span> Volume boost</button>
1020
- <button class="btn small toggle" id="rv-limiter" aria-pressed="false" title="Catches the few peaks (a click, a plosive) that would pass -1.5 dB, so Volume boost can reach -14 LUFS">Peak limiter</button>
1021
- </div>
1022
- </section>
1023
- <section class="for-browser">
1024
- <h4>Video</h4>
1025
- <select id="rec-quality" aria-label="Quality"></select>
1026
- <p class="rv-setup-note" id="rec-browser-check"></p>
1027
- </section>
1028
- <section class="for-obs">
1029
- <h4>Video</h4>
1030
- <select id="rv-mode" aria-label="How ffmpeg cuts">
1031
- <option value="accurate">Frame-accurate (x264)</option>
1032
- <option value="mac">Frame-accurate, Mac hardware encoder (faster)</option>
1033
- <option value="copy">No re-encode (only when nothing is cut out)</option>
1034
- </select>
1035
- <div class="rv-setup-row">
1036
- <select id="rv-fps" aria-label="Frame rate" title="Recording frame rate: cut points snap to its frames">
1037
- <option value="24">24 fps</option><option value="25">25 fps</option><option value="30">30 fps</option>
1038
- <option value="50">50 fps</option><option value="60">60 fps</option>
1039
- <option value="23.976">23.976 fps</option><option value="29.97">29.97 fps</option><option value="59.94">59.94 fps</option>
1288
+ <div class="rv-setup-row">
1289
+ <button class="btn small" id="obs-connect">Connect</button>
1290
+ <label class="check rv-setup-label"><input type="checkbox" id="obs-remember"> Remember</label>
1291
+ <span class="rv-setup-gap"></span>
1292
+ <span id="obs-status">Not connected</span>
1293
+ </div>
1294
+ <p class="rv-setup-note" id="obs-detail" hidden></p>
1295
+ <p class="rv-setup-note">In OBS: Tools → WebSocket Server Settings → enable it (the port and password are there). Point OBS at this browser window plus your microphone; no scenes needed.</p>
1296
+ </section>
1297
+ <section>
1298
+ <h4>Camera</h4>
1299
+ <select id="rec-cam" aria-label="Camera"></select>
1300
+ <div class="setup-cam"><video id="rec-cam-preview" muted playsinline autoplay></video><span id="rec-cam-none">No camera</span></div>
1301
+ <p class="rv-setup-note">Turns on by itself when recording starts. Choose No camera for slides only.</p>
1302
+ </section>
1303
+ <section class="for-browser">
1304
+ <h4>Microphone</h4>
1305
+ <select id="rec-mic" aria-label="Microphone"></select>
1306
+ <meter id="rec-meter" min="0" max="1" low="0.1" high="0.8" optimum="0.5" value="0" aria-label="Mic level" hidden></meter>
1307
+ <canvas id="rec-wave" class="setup-wave" width="640" height="120" aria-label="What the microphone hears"></canvas>
1308
+ <div class="rv-setup-row">
1309
+ <span class="rv-setup-label">Sound</span>
1310
+ <div class="seg small" role="radiogroup" aria-label="Sound">
1311
+ <button class="seg-btn" data-sound="voice" role="radio" title="Chrome's noise suppression: takes out fans, hum and other steady noise (the default)">Voice</button>
1312
+ <button class="seg-btn" data-sound="raw" role="radio" title="No processing: best for a good mic in a quiet room">Raw</button>
1313
+ </div>
1314
+ <span class="rv-setup-gap"></span>
1315
+ <button class="btn small toggle rv-loud" id="rv-loud" aria-pressed="true" title="Raises the video towards YouTube's volume (-14 LUFS), stopping before the loudest peak would clip"><span class="ico" aria-hidden="true">🔊</span> Volume boost</button>
1316
+ <button class="btn small toggle" id="rv-limiter" aria-pressed="false" title="Catches the few peaks (a click, a plosive) that would pass -1.5 dB, so Volume boost can reach -14 LUFS">Peak limiter</button>
1317
+ </div>
1318
+ </section>
1319
+ <section class="for-browser">
1320
+ <h4>Video</h4>
1321
+ <select id="rec-quality" aria-label="Quality"></select>
1322
+ <p class="rv-setup-note" id="rec-browser-check"></p>
1323
+ </section>
1324
+ <section class="for-obs">
1325
+ <h4>Video</h4>
1326
+ <select id="rv-mode" aria-label="How ffmpeg cuts">
1327
+ <option value="accurate">Frame-accurate (x264)</option>
1328
+ <option value="mac">Frame-accurate, Mac hardware encoder (faster)</option>
1329
+ <option value="copy">No re-encode (only when nothing is cut out)</option>
1040
1330
  </select>
1041
- <span class="rv-setup-gap"></span>
1042
- <button class="btn small toggle rv-loud" id="rv-loud-obs" aria-pressed="true" title="Adds loudnorm to the ffmpeg command: YouTube's volume (-14 LUFS), peaks held below -1 dB"><span class="ico" aria-hidden="true">🔊</span> Volume boost</button>
1331
+ <div class="rv-setup-row">
1332
+ <select id="rv-fps" aria-label="Frame rate" title="Recording frame rate: cut points snap to its frames">
1333
+ <option value="24">24 fps</option><option value="25">25 fps</option><option value="30">30 fps</option>
1334
+ <option value="50">50 fps</option><option value="60">60 fps</option>
1335
+ <option value="23.976">23.976 fps</option><option value="29.97">29.97 fps</option><option value="59.94">59.94 fps</option>
1336
+ </select>
1337
+ <span class="rv-setup-gap"></span>
1338
+ <button class="btn small toggle rv-loud" id="rv-loud-obs" aria-pressed="true" title="Adds loudnorm to the ffmpeg command: YouTube's volume (-14 LUFS), peaks held below -1 dB"><span class="ico" aria-hidden="true">🔊</span> Volume boost</button>
1339
+ </div>
1340
+ <p class="rv-setup-note" id="rec-screen"></p>
1341
+ </section>
1342
+ </div>
1343
+ <div class="rv-setup-foot for-browser">
1344
+ <span class="rv-setup-note for-browser">When Chrome asks, share <strong>this tab</strong>: only the slides and your camera are recorded, in a 16:9 frame.</span>
1345
+ <div class="rv-setup-row rv-files for-browser">
1346
+ <span class="rv-setup-label">Files</span>
1347
+ <button class="btn small" id="rv-folder-change" title="Where Download saves videos">Download folder…</button>
1348
+ <details class="rv-purge">
1349
+ <summary class="btn small" title="Delete takes from this browser">🗑 Purge takes</summary>
1350
+ <div class="rv-menu"><button class="btn small" id="rv-clean-unused">Unused takes</button><button class="btn small" id="rv-clean">All takes</button><button class="btn small" id="rv-clean-every" title="Every take Slidetake keeps in this browser, of every deck">Every deck's takes…</button></div>
1351
+ </details>
1043
1352
  </div>
1044
- <p class="rv-setup-note" id="rec-screen"></p>
1045
- </section>
1046
- </div>
1047
- <div class="rv-setup-foot">
1048
- <label class="rv-setup-label">Layout
1049
- <select id="rec-layout">
1050
- <option value="path">Path: short, one-direction moves</option>
1051
- <option value="focus">Focus: no travel, slides fade in</option>
1052
- <option value="current">Keep the current layout</option>
1053
- </select>
1054
- </label>
1055
- <span class="rv-setup-note">During a take: → next · ← take this slide again · B pause · Esc stop</span>
1056
- <div class="rv-setup-row rv-files for-browser">
1057
- <span class="rv-setup-label">Files</span>
1058
- <button class="btn small" id="rv-folder-change" title="Where Download saves videos">Download folder…</button>
1059
- <details class="rv-purge">
1060
- <summary class="btn small" title="Delete takes from this browser">🗑 Purge takes</summary>
1061
- <div class="rv-menu"><button class="btn small" id="rv-clean-unused">Unused takes</button><button class="btn small" id="rv-clean">All takes</button><button class="btn small" id="rv-clean-every" title="Every take Slidetake keeps in this browser, of every deck">Every deck's takes…</button></div>
1062
- </details>
1063
1353
  </div>
1064
1354
  </div>
1065
- <p class="rv-setup-note for-browser">When Chrome asks, share <strong>this tab</strong>. Only the slides and your camera are recorded, in a 16:9 frame; nothing else on the screen is.</p>
1066
- </details>
1355
+ <div class="setup-actions">
1356
+ <button class="btn rec" id="setup-record" title="Start recording (R)"><span class="rec-dot" aria-hidden="true">●</span> <span><u class="key">R</u>ecord</span></button>
1357
+ </div>
1358
+ </div>
1067
1359
  <div class="rv-grid">
1068
1360
  <div>
1069
1361
  <div class="rv-video">
@@ -1077,17 +1369,17 @@
1077
1369
  </div>
1078
1370
  </div>
1079
1371
  <div class="rv-bar">
1080
- <button class="btn rec" id="rv-rec" title="Records the whole deck, or only the ticked slides (shift-click ticks a range)">● Record</button>
1372
+ <button class="btn rec" id="rv-rec" title="Records the whole deck, or only the ticked slides (shift-click ticks a range) (R)"><span class="rec-dot" aria-hidden="true">●</span> <span><u class="key">R</u>ecord</span></button>
1081
1373
  <span id="rv-now"></span>
1082
- <button class="btn rv-preview" id="rv-play-final" title="Plays the picked takes back to back">▶ Preview</button>
1374
+ <button class="btn rv-preview" id="rv-play-final" title="Plays the picked takes back to back (P)">▶ <span><u class="key">P</u>review</span></button>
1083
1375
  </div>
1084
1376
  </div>
1085
1377
  <div class="rv-list" id="rv-list"></div>
1086
1378
  <div class="rv-dl">
1087
1379
  <button class="btn" id="rv-chapters" title="Copies the chapters, to paste into the YouTube description">⧉ Chapters</button>
1088
1380
  <span class="rv-final" id="rv-final"></span>
1089
- <button class="btn for-browser" id="rv-render-btn" title="Saves the video: the picked takes joined into one file">↓ Download</button>
1090
- <button class="btn for-obs" id="rv-ffmpeg-copy" title="Copies the ffmpeg command that cuts the picked takes from the OBS file">⧉ ffmpeg</button>
1381
+ <button class="btn for-browser" id="rv-render-btn" title="Saves the video: the picked takes joined into one file (D)">↓ <span><u class="key">D</u>ownload</span></button>
1382
+ <button class="btn for-obs" id="rv-ffmpeg-copy" title="Copies the ffmpeg command that cuts the picked takes from the OBS file (D)">⧉ ffmpeg</button>
1091
1383
  </div>
1092
1384
  </div>
1093
1385
  </div>
@@ -1102,13 +1394,13 @@
1102
1394
  "use strict";
1103
1395
  (() => {
1104
1396
  // src/sample.md
1105
- var sample_default = '---\ntitle: Slidetake \u2014 write in markdown with AI, record without timeline editing\ndescription: "Write a deck in markdown, with AI, present it on a spatial canvas, and record it slide by slide: retake any slide, pick the best take, download the video. Open source."\nbrand: slidetake\npip: bottom-right\n---\n\n<!-- camera: on, full, on -->\n\n# ![](/favicon.svg) Slide<span class="st-take">take</span>\n\n**Write in markdown, with AI. Present on a spatial canvas. Record without timeline editing.**\n\nAny AI writes the deck for you: it\'s plain markdown. For developers and technical educators who explain things on video. You\'re inside a Slidetake deck right now. Press \u2192 to walk it, **O** for the map.\n\n## \u23F1\uFE0F Hours, not days\n\nA video that takes two or three days to script, record and edit takes a couple of hours: an AI writes the deck, you record it slide by slide, and pick the best take of each in Studio. What comes out is ready to upload.\n\n## \u2702\uFE0F Record without timeline editing\n\n**Every slide is a take.** Stumbled on a slide? Press \u2190 and say it again: every attempt is kept, and recording carries on. The slide is the timeline marker, so a fumbled line costs one press, not an editing session.\n\n### Record right here, nothing to install\n\nPress **\u25CF Studio**, then **<span class="st-rec">\u25CF Record</span>**, and the deck records itself, in Chrome, Edge or another Chromium browser: your slides and camera in one 16:9 frame, at 1080p. Or let **[OBS Studio](https://obsproject.com)** record while the deck drives it, from any browser. No scenes to switch, no recording to watch.\n\n### Pick the best take\n\nChoose the best take of each slide in **\u25CF Studio**. It joins them into the final video in seconds (or writes the **[ffmpeg](https://ffmpeg.org)** cut for OBS), at YouTube\'s loudness, with the **chapters** to paste.\n\n## \u{1F5FA}\uFE0F A map, not a stack\n\n<!-- view: overview -->\n\nYour headings are the hierarchy: zoom out for the whole system, zoom in for one part. This slide just showed you the map.\n\n### Headings become cards\n\n`#` is the first card, `##` branches from it, `###` goes a level deeper. No layout to draw.\n\n### A path your viewer can follow\n\n\u2192 always walks the same order, and **path** lays it out as a staircase, so the audience never loses its place.\n\n## \u{1F3A5} The camera is part of the deck\n\n<!-- camera: on, full, on -->\n\nA comment in a slide moves you: corner, full screen, or off. Turn on **Camera** and watch this slide do it.\n\n## \u270D\uFE0F Plain markdown in\n\n**Pure text, so an AI iterates fast.** Ask for a change and the whole deck is rewritten in seconds: no layouts to drag, no files to export.\n\nMarkdown you already know: headings, lists, tables, code, steps, diagrams (Graphviz, D2, SVG), charts, images and YouTube links. [See them all in the showcase \u2192](/showcase)\n\n### A few comments do the rest\n\nMarkdown has no word for "reveal one at a time" or "move the camera", so a handful of HTML comments say it. They stay invisible anywhere else markdown is read:\n\n```md\n<!-- steps --> \u2190 one press each\n<!-- camera: full, on --> \u2190 move the camera\n<!-- view: overview --> \u2190 the map first\n<!-- view: full --> \u2190 a big image\n```\n\n## \u{1F3A8} Your colours\n\nOne line, `accent: "#3b82f6"`, gives a deck its own colour, shaded for dark and light. On your website, decks wear your site\'s palette.\n\n`brand:` and `logo:` put your name and logo in the corner of every slide, so every frame of the video carries them.\n\n## \u{1F310} Run it anywhere\n\nThree places, one deck format: a markdown file.\n\n### slidetake.com: write, record, share\n\nWrite a deck in the **\u270E Editor**, or view one straight from a link: a GitHub file, a gist or any markdown URL. Record it and cut the video in **\u25CF Studio**, in the same tab. **Share** a link with the deck inside it. Nothing to install.\n\n### Your computer: all that, plus AI\n\nThe same app on your own files, offline:\n\n```sh\nnpx slidetake deck.md\n```\n\nImages next to the markdown load as they are. Save in any editor and the deck reloads where you are; type in the browser and it saves to the file. So an AI agent can write `deck.md` while you watch it take shape.\n\n### Your website: a viewer for your readers\n\n`slidetake.js` puts decks inside your own pages, in your site\'s colours: a clean viewer, nothing else to set up. Record the same markdown here or with `npx slidetake`.\n\n## <span class="st-heart" aria-hidden="true"></span> Open source\n\nOpen source, Apache 2.0: [github.com/slidetake/slidetake](https://github.com/slidetake/slidetake). Nothing to sign up for, and your decks stay yours: [Privacy](/privacy).\n\nNext, every feature and what it saves you: **[Features \u2192](/features)**\n';
1397
+ var sample_default = '---\ntitle: Slidetake \u2014 write in markdown with AI, record without timeline editing\ndescription: "Write a deck in markdown, with AI, present it on a spatial canvas, and record it slide by slide: retake any slide, pick the best take, download the video. Open source."\nbrand: slidetake\npip: bottom-right\n---\n\n<!-- camera: on, full, on -->\n\n# ![](/favicon.svg) Slide<span class="st-take">take</span>\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 290" font-family="IBM Plex Sans, system-ui, sans-serif">\n <defs>\n <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">\n <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>\n </marker>\n </defs>\n\n <!-- four panels -->\n <g style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5">\n <rect x="14" y="10" width="212" height="270" rx="18"/>\n <rect x="254" y="10" width="212" height="270" rx="18"/>\n <rect x="494" y="10" width="212" height="270" rx="18"/>\n <rect x="734" y="10" width="212" height="270" rx="18"/>\n </g>\n <g fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)">\n <path d="M228 110 H251"/><path d="M468 110 H491"/><path d="M708 110 H731"/>\n </g>\n\n <!-- write: a markdown file, and the AI writing it -->\n <rect x="66" y="36" width="104" height="140" rx="11" style="fill:var(--node-bg);stroke:var(--accent)" stroke-width="2"/>\n <g font-family="IBM Plex Mono, monospace" font-size="13" font-weight="600" style="fill:var(--accent)">\n <text x="78" y="62">#</text><text x="78" y="112">##</text>\n </g>\n <g style="fill:var(--text-muted)" opacity=".55">\n <rect x="92" y="53" width="52" height="9" rx="4.5"/>\n <rect x="78" y="74" width="80" height="6" rx="3"/><rect x="78" y="86" width="60" height="6" rx="3"/>\n <rect x="100" y="103" width="46" height="9" rx="4.5"/>\n <rect x="78" y="124" width="80" height="6" rx="3"/><rect x="78" y="136" width="68" height="6" rx="3"/><rect x="78" y="148" width="50" height="6" rx="3"/>\n </g>\n <path d="M176 28 l6 14 14 6 -14 6 -6 14 -6 -14 -14 -6 14 -6z" style="fill:var(--accent)"/>\n\n <!-- present: cards on a path, the one on screen framed -->\n <g fill="none" style="stroke:var(--accent);stroke-opacity:.6" stroke-width="2">\n <path d="M310 58 H320 M358 58 H368 M387 71 V92 M406 105 H416"/>\n </g>\n <g style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent);stroke-opacity:.7" stroke-width="1.5">\n <rect x="272" y="45" width="38" height="26" rx="6"/><rect x="320" y="45" width="38" height="26" rx="6"/>\n <rect x="368" y="45" width="38" height="26" rx="6"/><rect x="368" y="92" width="38" height="26" rx="6"/>\n <rect x="416" y="92" width="38" height="26" rx="6"/>\n </g>\n <rect x="358" y="82" width="58" height="46" rx="9" fill="none" style="stroke:var(--accent)" stroke-width="3"/>\n <rect x="368" y="92" width="38" height="26" rx="6" style="fill:var(--accent);fill-opacity:.45"/>\n <g style="fill:var(--text-muted)" font-size="12">\n <text x="272" y="156">\u2192 walks the path</text><text x="272" y="174">O zooms out to all</text>\n </g>\n\n <!-- record: the red dot, in either mode -->\n <circle cx="600" cy="62" r="24" fill="none" stroke="#ef4444" stroke-opacity=".45" stroke-width="2"/>\n <circle cx="600" cy="62" r="14" fill="#ef4444"/>\n <g font-size="13" text-anchor="middle">\n <rect x="522" y="102" width="156" height="30" rx="15" style="fill:var(--node-bg)"/>\n <rect x="522" y="102" width="156" height="30" rx="15" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="1.5"/>\n <text x="600" y="122" fill="currentColor"><tspan font-weight="600">Easy</tspan> \xB7 Chrome</text>\n <rect x="522" y="142" width="156" height="30" rx="15" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.6" stroke-width="1.5"/>\n <text x="600" y="162" fill="currentColor"><tspan font-weight="600">Pro</tspan> \xB7 OBS</text>\n </g>\n\n <!-- edit: pick a take, get the video -->\n <g font-size="12" text-anchor="middle">\n <rect x="752" y="36" width="96" height="27" rx="8" fill="none" style="stroke:var(--text-muted);stroke-opacity:.6" stroke-width="1.5" stroke-dasharray="4 4"/>\n <text x="800" y="54" style="fill:var(--text-muted)">Take 1</text>\n <rect x="752" y="72" width="96" height="27" rx="8" style="fill:var(--node-bg)"/>\n <rect x="752" y="72" width="96" height="27" rx="8" style="fill:var(--accent);fill-opacity:.15;stroke:var(--accent)" stroke-width="2"/>\n <text x="800" y="90" fill="currentColor">Take 2 \u2713</text>\n </g>\n <path d="M850 86 C878 86 884 96 884 108" fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)"/>\n <rect x="836" y="112" width="92" height="60" rx="10" style="fill:var(--node-bg);stroke:var(--accent)" stroke-width="2"/>\n <path d="M874 130 l16 12 -16 12z" style="fill:var(--accent)"/>\n\n <!-- the steps -->\n <g text-anchor="middle" fill="currentColor">\n <text x="120" y="222" font-size="20" font-weight="700">Write</text>\n <text x="120" y="248" font-size="14" style="fill:var(--text-muted)">in markdown, with AI</text>\n <text x="360" y="222" font-size="20" font-weight="700">Present</text>\n <text x="360" y="248" font-size="14" style="fill:var(--text-muted)">on a spatial canvas</text>\n <text x="600" y="222" font-size="20" font-weight="700">Record</text>\n <text x="600" y="248" font-size="14" style="fill:var(--text-muted)">slide by slide, retake any</text>\n <text x="840" y="222" font-size="20" font-weight="700">Edit</text>\n <text x="840" y="248" font-size="14" style="fill:var(--text-muted)">just pick the best take</text>\n </g>\n</svg>\n```\n\n<p style="text-align:center">For developers and technical educators who explain things on video. You\'re inside a Slidetake deck right now.</p>\n\n### \u23F1\uFE0F Hours, not days\n\nA video that takes two or three days to script, record and edit takes a couple of hours: an AI writes the deck, you record it slide by slide, and pick the best take of each in Studio. What comes out is ready to upload.\n\n## \u270D\uFE0F Write in markdown, with AI {#ai}\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 380" font-family="IBM Plex Sans, system-ui, sans-serif">\n <defs>\n <filter id="glow" x="-30%" y="-30%" width="160%" height="160%">\n <feGaussianBlur stdDeviation="9"/>\n </filter>\n <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">\n <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>\n </marker>\n </defs>\n\n <!-- the four steps -->\n <g>\n <rect x="16" y="40" width="196" height="150" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <path d="M114 70 l7 17 17 7 -17 7 -7 17 -7 -17 -17 -7 17 -7z" style="fill:var(--accent)"/>\n <text x="114" y="150" text-anchor="middle" font-size="19" font-weight="600" fill="currentColor">Claude Code</text>\n <text x="114" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">or any AI agent</text>\n </g>\n <g>\n <rect x="262" y="34" width="196" height="162" rx="18" style="fill:var(--accent)" filter="url(#glow)" opacity=".1"/>\n <rect x="262" y="40" width="196" height="150" rx="18" style="fill:var(--node-bg)"/>\n <rect x="262" y="40" width="196" height="150" rx="18" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2.5"/>\n <path d="M343 66 h26 l12 12 v34 h-38z" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linejoin="round"/>\n <path d="M369 66 v12 h12" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linejoin="round"/>\n <text x="360" y="150" text-anchor="middle" font-size="19" font-weight="600" font-family="IBM Plex Mono, monospace" fill="currentColor">deck.md</text>\n <text x="360" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">text, dot, d2, echarts, svg</text>\n </g>\n <g>\n <rect x="508" y="40" width="196" height="150" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <rect x="577" y="68" width="58" height="44" rx="7" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>\n <path d="M588 82 l9 8 -9 8 M601 99 h12" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>\n <text x="606" y="150" text-anchor="middle" font-size="19" font-weight="600" font-family="IBM Plex Mono, monospace" fill="currentColor">npx slidetake</text>\n <text x="606" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">serves it, watches the file</text>\n </g>\n <g>\n <rect x="754" y="40" width="190" height="150" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <rect x="818" y="66" width="62" height="46" rx="7" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>\n <path d="M818 78 h62" style="stroke:var(--accent)" stroke-width="2.5"/>\n <circle cx="826" cy="72" r="1.8" style="fill:var(--accent)"/><circle cx="833" cy="72" r="1.8" style="fill:var(--accent)"/>\n <rect x="828" y="86" width="22" height="16" rx="3" style="fill:var(--accent);fill-opacity:.55"/>\n <text x="849" y="150" text-anchor="middle" font-size="19" font-weight="600" fill="currentColor">Chrome</text>\n <text x="849" y="173" text-anchor="middle" font-size="13" style="fill:var(--text-muted)">redraws the slide you\'re on</text>\n </g>\n\n <!-- forward: write, save, reload -->\n <path d="M214 115 H256" fill="none" style="stroke:var(--accent)" stroke-width="3" marker-end="url(#head)"/>\n <path d="M460 115 H502" fill="none" style="stroke:var(--accent)" stroke-width="3" marker-end="url(#head)"/>\n <path d="M706 115 H748" fill="none" style="stroke:var(--accent)" stroke-width="3" marker-end="url(#head)"/>\n <text x="237" y="104" text-anchor="middle" font-size="12" style="fill:var(--text-muted)">writes</text>\n <text x="483" y="104" text-anchor="middle" font-size="12" style="fill:var(--text-muted)">saved</text>\n <text x="729" y="104" text-anchor="middle" font-size="12" style="fill:var(--text-muted)">reloads</text>\n\n <!-- back: you ask for a change -->\n <path d="M849 196 C849 300 780 330 480 330 C180 330 114 300 114 202" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-dasharray="7 7" marker-end="url(#head)"/>\n <rect x="300" y="306" width="360" height="48" rx="24" style="fill:var(--node-bg)"/>\n <rect x="300" y="306" width="360" height="48" rx="24" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="1.5"/>\n <text x="480" y="336" text-anchor="middle" font-size="16" fill="currentColor">You: <tspan font-style="italic">\u201Cmake the chart a donut\u201D</tspan></text>\n <text x="480" y="22" text-anchor="middle" font-size="13" font-weight="600" letter-spacing="2" style="fill:var(--accent)">EACH ROUND TRIP TAKES SECONDS</text>\n</svg>\n```\n\nAsk your AI for a change, and see it on the slide you\'re on in seconds.\n\n### Real diagrams and charts, as text\n\nAI already writes **Graphviz**, **D2**, **ECharts** and **SVG** well, so they arrive in the same reply as the words, drawn in your deck\'s colours for dark and light, and changed by asking. The diagram before this slide is one: SVG inside the markdown. Headings, lists, tables, code, steps, images and YouTube links too: [see them all in the showcase \u2192](/showcase)\n\n### Fewer tokens, nothing to fix\n\nThe AI writes only content: headings, text and a few comments. Slidetake does the rest: card sizes, the map, the camera moves. No CSS or layout code to generate, and none to repair.\n\n### A few comments do the rest\n\nMarkdown has no word for "reveal one at a time" or "move the camera", so a handful of HTML comments say it. They stay invisible anywhere else markdown is read:\n\n```md\n<!-- steps --> \u2190 one press each\n<!-- camera: full, on --> \u2190 move the camera\n<!-- view: overview --> \u2190 the map first\n<!-- view: full --> \u2190 a big image\n```\n\n## \u{1F5FA}\uFE0F Present on a spatial canvas\n\n<!-- view: overview -->\n\n```dot\ndigraph {\n rankdir=LR nodesep=0.25 ranksep=0.7\n node [shape=box style=rounded margin="0.3,0.1" fontsize=16 fontname="IBM Plex Mono"]\n edge [arrowsize=0.7]\n talk [label="# Talk"] why [label="## Why"] how [label="## How"]\n demo [label="## Demo"] detail [label="### Detail"]\n talk -> {why how demo}\n why -> detail\n}\n```\n\nYour headings are the hierarchy: `#` is the first card, `##` branches from it, `###` goes a level deeper. Slidetake lays it out as a map you move through: \u2192 walks the path, and **O** zooms out to the whole talk, as this slide just did. The diagram is Graphviz, written as text in the deck.\n\n### The camera is part of the deck\n\n<!-- camera: on, full, on -->\n\nA comment in a slide moves you: corner, full screen, or off. Turn on **Camera** and watch this slide do it.\n\n### Your colours\n\nOne line, `accent: "#3b82f6"`, gives a deck its own colour, shaded for dark and light. On your website, decks wear your site\'s palette.\n\n`brand:` and `logo:` put your name and logo in the corner of every slide, so every frame of the video carries them.\n\n## \u{1F534} Record slide by slide\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 190" font-family="IBM Plex Sans, system-ui, sans-serif">\n <!-- easy mode -->\n <rect x="14" y="10" width="452" height="170" rx="18" style="fill:var(--accent);fill-opacity:.1;stroke:var(--accent)" stroke-width="2"/>\n <rect x="38" y="52" width="92" height="68" rx="9" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>\n <path d="M38 70 H130" style="stroke:var(--accent)" stroke-width="2.5"/>\n <circle cx="48" cy="61" r="2.2" style="fill:var(--accent)"/><circle cx="57" cy="61" r="2.2" style="fill:var(--accent)"/>\n <circle cx="84" cy="95" r="10" fill="#ef4444"/>\n <text x="156" y="58" font-size="21" font-weight="700" style="fill:var(--accent)">Easy mode</text>\n <text x="156" y="88" font-size="15" fill="currentColor">Chrome or Edge, nothing to install</text>\n <text x="156" y="114" font-size="15" fill="currentColor">The deck records itself: slides and</text>\n <text x="156" y="136" font-size="15" fill="currentColor">camera in one 16:9 frame, at 1080p</text>\n\n <!-- pro mode -->\n <rect x="494" y="10" width="452" height="170" rx="18" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.5" stroke-width="1.5"/>\n <circle cx="564" cy="86" r="36" fill="none" style="stroke:var(--accent)" stroke-width="2.5"/>\n <circle cx="564" cy="86" r="10" fill="#ef4444"/>\n <text x="626" y="58" font-size="21" font-weight="700" style="fill:var(--accent)">Pro mode</text>\n <text x="626" y="88" font-size="15" fill="currentColor">OBS Studio, from any browser</text>\n <text x="626" y="114" font-size="15" fill="currentColor">The deck starts and stops it, and</text>\n <text x="626" y="136" font-size="15" fill="currentColor">drives every slide: you only talk</text>\n</svg>\n```\n\nPress **<span class="st-rec">\u25CF Record</span>** (R). **Every slide is a take:** stumbled? Press \u2190 and say it again. Every attempt is kept, and recording carries on.\n\n## \u2702\uFE0F Edit by picking the best take\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 360" font-family="IBM Plex Sans, system-ui, sans-serif">\n <defs>\n <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">\n <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>\n </marker>\n </defs>\n <text x="480" y="20" text-anchor="middle" font-size="13" font-weight="600" letter-spacing="2" style="fill:var(--accent)">EVERY ATTEMPT IS KEPT \xB7 PICK ONE PER SLIDE</text>\n\n <!-- slide headers -->\n <g font-size="15" font-weight="600" text-anchor="middle" fill="currentColor">\n <text x="140" y="56">Slide 1</text><text x="380" y="56">Slide 2</text><text x="620" y="56">Slide 3</text><text x="860" y="56">Slide 4</text>\n </g>\n\n <!-- takes: picked ones in the accent, the rest faded -->\n <g font-size="14" text-anchor="middle">\n <rect x="55" y="72" width="170" height="40" rx="10" style="fill:var(--node-bg)"/>\n <rect x="55" y="72" width="170" height="40" rx="10" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>\n <text x="140" y="97" fill="currentColor">Take 1 \u2713</text>\n\n <rect x="295" y="72" width="170" height="40" rx="10" fill="none" style="stroke:var(--text-muted);stroke-opacity:.5" stroke-width="1.5" stroke-dasharray="5 4"/>\n <text x="380" y="97" style="fill:var(--text-muted)">Take 1</text>\n <text x="380" y="134" font-size="13" font-weight="600" style="fill:var(--accent)">\u2190 again</text>\n <rect x="295" y="146" width="170" height="40" rx="10" style="fill:var(--node-bg)"/>\n <rect x="295" y="146" width="170" height="40" rx="10" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>\n <text x="380" y="171" fill="currentColor">Take 2 \u2713</text>\n\n <rect x="535" y="72" width="170" height="40" rx="10" style="fill:var(--node-bg)"/>\n <rect x="535" y="72" width="170" height="40" rx="10" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>\n <text x="620" y="97" fill="currentColor">Take 1 \u2713</text>\n\n <rect x="775" y="72" width="170" height="40" rx="10" fill="none" style="stroke:var(--text-muted);stroke-opacity:.5" stroke-width="1.5" stroke-dasharray="5 4"/>\n <text x="860" y="97" style="fill:var(--text-muted)">Take 1</text>\n <text x="860" y="134" font-size="13" font-weight="600" style="fill:var(--accent)">\u2190 again</text>\n <rect x="775" y="146" width="170" height="40" rx="10" fill="none" style="stroke:var(--text-muted);stroke-opacity:.5" stroke-width="1.5" stroke-dasharray="5 4"/>\n <text x="860" y="171" style="fill:var(--text-muted)">Take 2</text>\n <text x="860" y="208" font-size="13" font-weight="600" style="fill:var(--accent)">\u2190 again</text>\n <rect x="775" y="220" width="170" height="40" rx="10" style="fill:var(--node-bg)"/>\n <rect x="775" y="220" width="170" height="40" rx="10" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>\n <text x="860" y="245" fill="currentColor">Take 3 \u2713</text>\n </g>\n\n <!-- the picked takes, joined -->\n <g fill="none" style="stroke:var(--accent)" stroke-width="2" marker-end="url(#head)">\n <path d="M140 114 V292"/><path d="M380 188 V292"/><path d="M620 114 V292"/><path d="M860 262 V292"/>\n </g>\n <rect x="20" y="298" width="920" height="44" rx="12" style="fill:var(--accent);fill-opacity:.18;stroke:var(--accent)" stroke-width="2"/>\n <g style="stroke:var(--accent)" stroke-width="2"><path d="M260 298 V342 M500 298 V342 M740 298 V342"/></g>\n <g font-size="14" fill="currentColor" font-family="IBM Plex Mono, monospace">\n <text x="36" y="325">0:00 Slide 1</text><text x="276" y="325">Slide 2</text><text x="516" y="325">Slide 3</text><text x="756" y="325">Slide 4</text>\n </g>\n <text x="924" y="325" text-anchor="end" font-size="13" font-weight="600" style="fill:var(--accent)">one video</text>\n</svg>\n```\n\n**Pick the best of each** in \u25CF Studio: one video in seconds, at YouTube\'s loudness, with **chapters** to paste. With OBS, an **[ffmpeg](https://ffmpeg.org)** cut.\n\n## \u{1F310} Run it anywhere\n\nThree places, one deck format: a markdown file.\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 320" font-family="IBM Plex Sans, system-ui, sans-serif">\n <defs>\n <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">\n <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>\n </marker>\n <filter id="glow" x="-30%" y="-30%" width="160%" height="160%"><feGaussianBlur stdDeviation="9"/></filter>\n </defs>\n\n <!-- one file -->\n <rect x="40" y="104" width="230" height="112" rx="18" style="fill:var(--accent)" filter="url(#glow)" opacity=".1"/>\n <rect x="40" y="110" width="230" height="100" rx="18" style="fill:var(--node-bg)"/>\n <rect x="40" y="110" width="230" height="100" rx="18" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2.5"/>\n <path d="M74 136 h22 l10 10 v30 h-32z M96 136 v10 h10" fill="none" style="stroke:var(--accent)" stroke-width="2.5" stroke-linejoin="round"/>\n <text x="122" y="160" font-size="21" font-weight="600" font-family="IBM Plex Mono, monospace" fill="currentColor">deck.md</text>\n <text x="122" y="184" font-size="13" style="fill:var(--text-muted)">one markdown file</text>\n\n <g fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)">\n <path d="M272 150 C380 150 400 62 498 62"/>\n <path d="M272 160 H498"/>\n <path d="M272 170 C380 170 400 258 498 258"/>\n </g>\n\n <g>\n <rect x="504" y="20" width="430" height="84" rx="16" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="526" y="54" font-size="18" font-weight="600" fill="currentColor">slidetake.com</text>\n <text x="526" y="80" font-size="13" style="fill:var(--text-muted)">write, open from a link, record in \u25CF Studio, share</text>\n <rect x="504" y="118" width="430" height="84" rx="16" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="526" y="152" font-size="18" font-weight="600" fill="currentColor">Your computer \xB7 <tspan font-family="IBM Plex Mono, monospace" font-size="16">npx slidetake</tspan></text>\n <text x="526" y="178" font-size="13" style="fill:var(--text-muted)">the AI loop, local images, edits saved to the file</text>\n <rect x="504" y="216" width="430" height="84" rx="16" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="526" y="250" font-size="18" font-weight="600" fill="currentColor">Your website \xB7 <tspan font-family="IBM Plex Mono, monospace" font-size="16">slidetake.js</tspan></text>\n <text x="526" y="276" font-size="13" style="fill:var(--text-muted)">a viewer for your readers, in your site\'s colours</text>\n </g>\n</svg>\n```\n\n### slidetake.com: write, present, record, edit and share\n\nWrite a deck in the **\u270E Editor**, or view one straight from a link: a GitHub file, a gist or any markdown URL. Record it and cut the video in **\u25CF Studio**, in the same tab. **Share** a link with the deck inside it. Nothing to install.\n\n### Your computer: all that, plus AI\n\nThe same app on your own files, offline:\n\n```sh\nnpx slidetake deck.md\n```\n\nImages next to the markdown load as they are. Save in any editor and the deck reloads where you are; type in the browser and it saves to the file. That\'s [the AI loop](#ai): an agent writes `deck.md` while you watch it take shape.\n\n### Your website: a viewer for your readers\n\n`slidetake.js` puts decks inside your own pages, in your site\'s colours: a clean viewer, nothing else to set up. Record the same markdown here or with `npx slidetake`.\n\n## <span class="st-heart" aria-hidden="true"></span> Open source\n\nOpen source, Apache 2.0: [github.com/slidetake/slidetake](https://github.com/slidetake/slidetake). Nothing to sign up for, and your decks stay yours: [Privacy](/privacy).\n\nNext, every feature and what it saves you: **[Features \u2192](/features)**\n';
1106
1398
 
1107
1399
  // src/docs.md
1108
- var docs_default = "---\ntitle: Slidetake Docs\ndescription: \"How to use Slidetake, step by step: get started, write a deck, present it, record a video in the browser or with OBS, and share it.\"\nbrand: slidetake\npip: none\n---\n\n# ![](/favicon.svg) Slide<span class=\"st-take\">take</span> Docs\n\nEverything in order: **get started \u2192 write \u2192 present \u2192 record \u2192 share**. Press \u2192 to walk it, \u2193 \u2191 to go into a step and back out, **O** for the map.\n\n## 1\uFE0F\u20E3 Get started\n\nThree places to use Slidetake, one deck format for all of them: a markdown file. And any AI can write the deck.\n\n| Where | Best for |\n|---|---|\n| **slidetake.com** | writing in the Editor, viewing any deck from a link, sharing |\n| **Your computer** | the same on your own files and images, offline, with an AI agent writing alongside |\n| **Your website** | decks your readers view |\n\n### On slidetake.com\n\nOpen a deck straight from a link: a GitHub file, a gist or any markdown URL. Or press **\u270E Editor** and type: the first keystroke makes it [your copy](#your-copy), kept in this browser.\n\n| Link | Opens |\n|---|---|\n| `/gh/owner/repo/path/deck.md` | a GitHub file, default branch |\n| `/gh/owner/repo@branch/deck.md` | another branch or tag |\n| `/gist/<id>` | a gist's first markdown file |\n| `/?src=https://\u2026/deck.md` | anything else |\n| `/new` | a template: blank, talk or recording |\n\n### On your computer\n\nKeep the deck and its images together in a folder, and run one command there:\n\n```sh\nnpx slidetake deck.md\n```\n\nIt opens on `http://localhost:4300` with the files next to the deck served beside it, so `![](diagram.png)` just works. Save the file in any editor and the deck reloads where you are; type in the browser's editor and it saves to the file. Nothing leaves your machine. Needs Node 20 or later.\n\n`npx slidetake` in a folder opens its `index.md`, `deck.md`, `slides.md` or `README.md`. `--open` opens the browser; `--port 5000` picks the port.\n\n### On your website\n\n`slidetake.js` turns a deck on any page into a Slidetake deck. Describe the deck, then load the script:\n\n```html\n<script>\nwindow.SLIDETAKE = {\n markdown: \"# My deck\\n\\n## A section\",\n settings: {title: \"My deck\"},\n base: location.href, // for images\n trail: [{label: \"My site\", url: \"/\"}],\n themeKey: \"my-theme\", // your light/dark key\n colors: {accent: \"#2563eb\"} // your colours\n};\n<\/script>\n<script src=\"https://cdn.jsdelivr.net/npm/slidetake/dist/slidetake.js\"><\/script>\n```\n\nA viewer for your readers. To record, open the deck's markdown here or with `npx slidetake`, or add `recording: true` on a page only you see, such as your site's local preview. The hugo-continuum theme writes this for pages with `engine: slidetake`, with recording under `hugo server`.\n\n### With AI\n\nAny AI can write a deck: point it at [slidetake.com/llms.txt](/llms.txt) and say what the talk is about.\n\n- **An agent** (Claude Code and the like): *\"Write a Slidetake deck about X in talk/deck.md, following slidetake.com/llms.txt\"*, then `npx slidetake talk/deck.md`. The deck reloads as it edits.\n- **A chat**: ask for one markdown block, then paste it into **\u270E Editor** here.\n- **Images**: beside the file for an agent; full URLs in a chat.\n\n### A prompt to copy\n\nPaste this into any AI and change the first line:\n\n```text\nWrite a Slidetake deck about <topic>, a 10-minute talk.\nFollow https://slidetake.com/llms.txt.\nA # title card, then 4\u20136 ## sections of 1\u20133 ### cards.\n<!-- steps --> before lists; a ```dot or ```d2 diagram\nwhere a picture helps. Reply with one markdown block.\n```\n\n## 2\uFE0F\u20E3 Write a deck\n\nA deck is an ordinary markdown file. **Every heading becomes a card**, and a heading branches off the nearest shallower heading above it.\n\n```md\n# Product \u2190 the first card\nIntro text.\n\n## Pricing \u2190 from Product\n### Enterprise \u2190 from Pricing\n## Roadmap {#plan} \u2190 from Product, id \"plan\"\n\nSee the [roadmap](#plan).\n```\n\n### Cards\n\n- Text before the first heading becomes a card of its own.\n- Headings inside fenced code blocks are ignored.\n- A card's id is its heading slugified (`## Moving around` \u2192 `moving-around`), or set one with `{#id}` at the end of the heading.\n- A link to `#id` flies to that card.\n- Cards widen for wide tables, columns, diagrams and embeds; anything wider still is scaled to fit.\n\n### What a card can hold\n\nPlain markdown, and the layout follows from what's on the card. [See every one in the showcase \u2192](/showcase)\n\n| Write | Get |\n|---|---|\n| `<!-- steps -->` | what follows, one press each, to the end of the card or a `<!-- steps: off -->` |\n| ` ```dot `, ` ```d2 ` | a Graphviz or D2 diagram, in the deck's colours |\n| ` ```echarts ` with JSON options | a chart, in the deck's colours |\n| ` ```svg ` | an SVG drawing: `currentColor` and `var(--text)`, `var(--accent)` follow dark and light |\n| a YouTube link alone on a line | the video: the next press plays it |\n| `<!-- view: full -->` | a 16:9 card for a big image |\n\nThe first and last cards animate in on their own.\n\n### Images\n\nThe layout follows from where the images are. The alt text is the caption.\n\n| Write | Get |\n|---|---|\n| an image alone | an image card, laid out by its shape: phone, landscape or 16:9 |\n| an image and text | a split card, the image on the side written first |\n| a list of images, diagrams or charts | a gallery; after `<!-- steps -->`, a carousel |\n| images in one paragraph | a grid, up to four a row |\n| `![](drawing.svg)` | an SVG image, as drawn |\n\n### Deck settings\n\nAn optional block at the top of the file:\n\n```yaml\n---\ntitle: My talk \u2190 page and video title\nduration: 10m \u2190 for the timer\naccent: \"#3b82f6\" \u2190 the deck's colour\nmode: light \u2190 open in light mode\nbrand: example.com \u2190 top-right corner text\nbrand_style: chip \u2190 the brand as a pill\nlogo: https://\u2026/l.png \u2190 image beside it\nbase: https://\u2026/deck/ \u2190 where images live\nsite: https://\u2026/ \u2190 where /images live\n---\n```\n\n`accent` is one colour; Slidetake makes it bright for dark mode and deep enough to read on white for light mode, and uses it for text accents, lines, charts and diagrams. Camera and recording settings are in [step 4](#4-record-a-video).\n\n### Decks from elsewhere\n\n**reveal.js** decks open as they are: `---` starts a slide and `--` a vertical one beneath it. Fragments (`fade-up`, `grow`, \u2026), `r-stack`, `<!-- .element: \u2026 -->`, `<section>` slides, `data-autoslide`, `data-gsap` entrances and `title-scramble` all work.\n\n**Older `+++` decks**, with `id`, `parent`, `x`, `y` frontmatter, still load.\n\n## 3\uFE0F\u20E3 Present\n\nClick a card to fly to it. Drag to pan; scroll or pinch to zoom. On a touch screen, the bottom bar adds \u2190 \u2192 buttons.\n\n| Key | Does |\n|---|---|\n| \u2192 \u2190 Space | next / previous step, in document order (PgDn and PgUp too: what clickers send) |\n| Home End | first / last slide |\n| \u2193 \u2191 | first child / parent |\n| O | the whole map; **O** again or Esc goes back |\n| F | fullscreen; **F** again or Esc leaves |\n| K or ? | these keys; again closes them |\n| 1 2 3 4 | focus, path, radial, tree |\n| + \u2212 | bigger / smaller slides (remembered) |\n| E \xB7 L | editor \xB7 light / dark |\n| C \xB7 V \xB7 R | camera \xB7 camera layouts \xB7 Studio (record) |\n\n### Layouts\n\n**Focus** doesn't travel at all: the next slide fades in where the last one was.\n\n**Path**, the default, is made for presenting and video: a staircase in presenting order. Each section is a row, and the next one starts just below where the last ended, so every move is a short step right or down.\n\n**Radial** rings out from the first card, and **tree** is a top-down chart.\n\nThe layout you pick is remembered in this browser, for every deck.\n\n### On screen\n\nText keeps one size within a section and only changes when the section does; charts and diagrams are fitted on their own.\n\n`<!-- view: overview -->` on a slide pulls back to the whole map for a beat before flying in: a good start to a chapter.\n\n### Progress and timer\n\nIn fullscreen the cursor and controls hide after two seconds without the mouse moving, and a thin bar along the bottom fills with every press.\n\nWith `duration: 10m` (or `90s`, `1h`, `12:30`), a lighter layer of the same colour grows behind it with the clock: if it shows past the solid fill, you're behind; if it reaches the end, the bar pulses. The timer is for you, so recordings show progress only, unless the deck says `timer: always`. `progress: off` hides the bar.\n\n## 4\uFE0F\u20E3 Record a video\n\nTwo modes, both slide by slide, so there's no timeline to edit afterwards. **\u25CF Studio** (beside \u270E Editor, or **R**) opens **Slidetake Studio** in the mode you used last; \u2699 Setup switches between them:\n\n| | Easy mode: in the browser | Pro mode: with OBS |\n|---|---|---|\n| Install | nothing | [OBS Studio](https://obsproject.com) and [ffmpeg](https://ffmpeg.org), both free; a virtual display if your screen isn't 16:9 |\n| Browser | Chrome, Edge or another Chromium browser | any: Safari and Firefox too |\n| Screen | any shape: the deck is recorded in a 16:9 frame | a 16:9 screen, physical or virtual |\n| Quality | 1080p, or 720p on a smaller screen | whatever OBS records |\n| Final video | **Download** joins the picked takes, in the browser | an ffmpeg command |\n\n### Easy mode: record in the browser\n\n**\u25CF Studio** shows every slide of the deck, with every take of it from every recording.\n\n1. **\u2699 Setup**, the first time: pick your camera (or **No camera**) and microphone. \u25CF Record turns the camera on and off by itself.\n2. **\u25CF Record**, and share **this tab** when the browser asks. Only the 16:9 frame is recorded: slides and camera.\n\nFor 1080p the frame needs 1920\xD71080 real pixels (a Retina laptop has them); 1280\xD7720 makes 720p. Smaller: use pro mode.\n\n### Retake slides later\n\nTick slides (shift-click for a range): **\u25CF Record** records just those, then stops.\n\nA take starts with the move in from the slide before it. So when you edit a slide, its takes and the next slide's are marked *outdated*: kept, but not picked until you record them again.\n\nTo drop a slide, delete it, then record the slide after it again.\n\n### Takes stay in this browser\n\nEach take is a file in this browser's private storage until you purge it, in \u2699 Setup \u2192 Files:\n\n| Purge | Removes |\n|---|---|\n| **Unused takes** | takes the video doesn't use |\n| **All takes** | this deck's takes |\n| **Every deck's takes\u2026** | everything Slidetake keeps here; it says how much first |\n\n### Pro mode: set up OBS\n\n1. In OBS: Tools \u2192 WebSocket Server Settings, turn it on.\n2. In **\u25CF Studio**: **\u2699 Setup \u2192 Use pro mode (OBS)**, enter host, port and password, then **Connect**. Tick *Remember*.\n3. Present on a 16:9 screen, physical or virtual (say 1920\xD71080). Setup checks it.\n\nStudio opens in the mode you used last. The line beside \u2699 Setup shows what a take uses: `Pro \xB7 OBS \xB7 1080p \xB7 camera`.\n\n### A 16:9 screen\n\nYouTube is 16:9. If your screen isn't (a MacBook is 16:10, an ultrawide 21:9), add a virtual 1920\xD71080 display, present there with **F**, and point OBS at it:\n\n| System | Virtual display |\n|---|---|\n| macOS | [BetterDisplay](https://github.com/waydabber/BetterDisplay) |\n| Windows | [Virtual Display Driver](https://github.com/VirtualDrivers/Virtual-Display-Driver) |\n| Linux | `xrandr` (X11), or a dummy HDMI plug |\n\nA dummy HDMI plug works on any system.\n\n### OBS on another computer\n\n`?obs=host:port:password` in the address connects as the page opens.\n\nFrom https://slidetake.com, OBS must be on the same computer: browsers block secure pages from plain `ws://` addresses elsewhere. For OBS on another machine, use `npx slidetake`, which serves over http.\n\n### Add your camera\n\n**C** (or **Camera**) turns your webcam on in its box while presenting. A recording doesn't depend on it: it turns on the camera chosen for the deck (or none) by itself. The camera is off every time the page opens; until it's on, the deck's camera settings are ignored, so readers get slides using the whole screen.\n\n```yaml\n---\npip: bottom-right \u2190 corner, or none\npip_size: 24% \u2190 box width\npip_shape: rect \u2190 or circle\npip_mirror: yes \u2190 mirror the webcam\ncamera: 24%, full, off \u2190 what V cycles\n---\n```\n\nSlides are always placed clear of the brand and the camera box.\n\n### Move the camera per slide\n\nA comment in a slide changes the camera from that slide on:\n\n```md\n## Intro\n<!-- camera: full --> \u2190 fills the screen\n\n## Pricing\n<!-- camera: 18% flip --> \u2190 small, other side\n```\n\nWords you can combine: `on`, `off`, `full`, a size like `30%`, a corner, `flip`, `circle` / `rect`, `mirror` / `unmirror`. List them with commas to step through them on one slide: `full, on` opens on you, and the next \u2192 shrinks the camera to its corner and shows the slide.\n\n**V** steps through the deck's `camera:` list by hand.\n\n### Take by take\n\n**\u25CF Record** counts down and starts. From then on \u2192 drives everything: slides, reveals and camera moves (a Bluetooth clicker works).\n\n- **\u2190** takes the slide again. The deck goes back and replays the slide's entry, so whichever take you pick joins smoothly\n- **B** (or **.**, a clicker's blank-screen key) pauses and resumes\n- one press past the last step ends the take; **Esc** ends it early\n\n### Slidetake Studio\n\nWhen the take ends you're back in Studio, the same in both modes:\n\n- the player, with **\u25CF Record** and **\u25B6 Preview** under it\n- every slide and its takes on the right: click one to preview it\n- **\u29C9 Chapters** copies the chapters (`0:00 Intro`, one per section) for the YouTube description. YouTube needs at least three, each 10 seconds or more\n\n### Download (easy mode)\n\n**\u25B6 Preview** plays the picked takes back to back.\n\n**\u2193 Download** joins them into one MP4 in seconds, without re-encoding the video, in a folder you pick once: `deck 2026-10-30 20-04-49.mp4`. Pressed again with nothing changed, it says where the video already is.\n\n### The ffmpeg cut (pro mode)\n\nStudio shows the deck's latest OBS recording; recording again replaces it here (the old file stays in your OBS folder).\n\nPreviews come from the OBS file: open it once, or, in Chrome and Edge, pick your OBS folder and later recordings load by themselves.\n\n**\u29C9 ffmpeg** copies a command that cuts the picked takes, frame-exact. \u2699 Setup \u2192 Video sets how it encodes.\n\n### Sound\n\nIn \u2699 Setup \u2192 Microphone:\n\n| Setting | Does |\n|---|---|\n| **Raw** (default) | the mic as it is: for a good mic in a quiet room |\n| **Voice** | Chrome's noise suppression: fans, hum, steady noise |\n| **\u{1F50A} Volume boost** (on) | raises the voice to YouTube's \u221214 LUFS, never past a \u22121.5 dB peak |\n| **Peak limiter** (off) | catches the few loud peaks, so the boost goes all the way |\n\nYouTube turns loud videos down but not quiet ones up, so without the boost your voice sounds quiet. With OBS, Volume boost adds `loudnorm` to the ffmpeg command.\n\n## 5\uFE0F\u20E3 Share and keep\n\nEvery deck you open is **read-only**: Slidetake's own decks, templates, files on the web and shared links. Viewing one never changes anything.\n\n### Your copy\n\n**Type in a deck**, and it becomes your copy, at `/edit`. It lives in this browser, remembers where it came from, and is there whenever you come back: **Your copy \u2192** in the editor takes you to it.\n\n- There's one copy at a time; the editor bar says whose it is, and marks **edited** while it has changes you haven't saved or shared.\n- **Reset to original** throws your edits away.\n- Starting a new copy asks first if the old one has edits you haven't kept.\n\n### Save and share\n\n**Save** downloads the markdown. **Share** copies a link: the short link while your copy still matches an online original, otherwise a `/share#deflate:\u2026` link with the whole deck compressed inside it. That part of a link never reaches a server. **Open** loads a markdown file from your computer into your copy, and **\u21E3 Load** a deck from a link: a GitHub file, a gist or any markdown URL.\n\n### Address options\n\n| Option | Does |\n|---|---|\n| `?edit=1` | opens the editor |\n| `?layout=focus` (path, radial, tree) | picks the layout; path is the default |\n| `?mode=light` | light theme |\n| `?duration=10m` | talk length for the timer |\n| `#card-id` | opens at a card |\n\n## \u{1F512} Your data\n\nNo accounts, and no decks kept. Recording stays on your device.\n\nNext, everything that leaves your browser, and where it goes: **[Privacy \u2192](/privacy)**\n";
1400
+ var docs_default = '---\ntitle: Slidetake Docs\ndescription: "How to use Slidetake, step by step: get started, write a deck, present it, record a video in the browser or with OBS, and share it."\nbrand: slidetake\npip: none\n---\n\n# ![](/favicon.svg) Slide<span class="st-take">take</span> Docs\n\nEverything in order: **get started \u2192 write \u2192 present \u2192 record \u2192 edit \u2192 share**. Press \u2192 to walk it, \u2193 \u2191 to go into a step and back out, **O** for the map.\n\n## 1\uFE0F\u20E3 Get started\n\nThree places to use Slidetake, one deck format for all of them: a markdown file. And any AI can write the deck.\n\n| Where | Best for |\n|---|---|\n| **slidetake.com** | writing in the Editor, viewing any deck from a link, sharing |\n| **Your computer** | the same on your own files and images, offline, with an AI agent writing alongside |\n| **Your website** | decks your readers view |\n\n### On slidetake.com\n\nOpen a deck straight from a link: a GitHub file, a gist or any markdown URL. Or press **\u270E Editor** and type: the first keystroke makes it [your copy](#your-copy), kept in this browser.\n\n| Link | Opens |\n|---|---|\n| `/gh/owner/repo/path/deck.md` | a GitHub file, default branch |\n| `/gh/owner/repo@branch/deck.md` | another branch or tag |\n| `/gist/<id>` | a gist\'s first markdown file |\n| `/?src=https://\u2026/deck.md` | anything else |\n| `/new` | a template: blank, talk or recording |\n\n### On your computer\n\nKeep the deck and its images together in a folder, and run one command there:\n\n```sh\nnpx slidetake deck.md\n```\n\nIt opens on `http://localhost:4300` with the files next to the deck served beside it, so `![](diagram.png)` just works. Save the file in any editor and the deck reloads where you are; type in the browser\'s editor and it saves to the file. Nothing leaves your machine. Needs Node 20 or later.\n\n`npx slidetake` in a folder opens its `index.md`, `deck.md`, `slides.md` or `README.md`. `--open` opens the browser; `--port 5000` picks the port.\n\n### On your website\n\n`slidetake.js` turns a deck on any page into a Slidetake deck. Describe the deck, then load the script:\n\n```html\n<script>\nwindow.SLIDETAKE = {\n markdown: "# My deck\\n\\n## A section",\n settings: {title: "My deck"},\n base: location.href, // for images\n trail: [{label: "My site", url: "/"}],\n themeKey: "my-theme", // your light/dark key\n colors: {accent: "#2563eb"} // your colours\n};\n<\/script>\n<script src="https://cdn.jsdelivr.net/npm/slidetake/dist/slidetake.js"><\/script>\n```\n\nA viewer for your readers. To record, open the deck\'s markdown here or with `npx slidetake`, or add `recording: true` on a page only you see, such as your site\'s local preview. The hugo-continuum theme writes this for pages with `engine: slidetake`, with recording under `hugo server`.\n\n### With AI\n\nAny AI can write a deck: point it at [slidetake.com/llms.txt](/llms.txt) and say what the talk is about.\n\n- **An agent** (Claude Code and the like): *"Write a Slidetake deck about X in talk/deck.md, following slidetake.com/llms.txt"*, then `npx slidetake talk/deck.md`. The deck reloads as it edits.\n- **A chat**: ask for one markdown block, then paste it into **\u270E Editor** here.\n- **Images**: beside the file for an agent; full URLs in a chat.\n\n### A prompt to copy\n\nPaste this into any AI and change the first line:\n\n```text\nWrite a Slidetake deck about <topic>, a 10-minute talk.\nFollow https://slidetake.com/llms.txt.\nA # title card, then 4\u20136 ## sections of 1\u20133 ### cards.\n<!-- steps --> before lists; a ```dot or ```d2 diagram\nwhere a picture helps. Reply with one markdown block.\n```\n\n## 2\uFE0F\u20E3 Write a deck\n\nA deck is an ordinary markdown file. **Every heading becomes a card**, and a heading branches off the nearest shallower heading above it.\n\n```md\n# Product \u2190 the first card\nIntro text.\n\n## Pricing \u2190 from Product\n### Enterprise \u2190 from Pricing\n## Roadmap {#plan} \u2190 from Product, id "plan"\n\nSee the [roadmap](#plan).\n```\n\n### Cards\n\n- Text before the first heading becomes a card of its own.\n- Headings inside fenced code blocks are ignored.\n- A card\'s id is its heading slugified (`## Moving around` \u2192 `moving-around`), or set one with `{#id}` at the end of the heading.\n- A link to `#id` flies to that card.\n- Cards widen for wide tables, columns, diagrams and embeds; anything wider still is scaled to fit.\n\n### What a card can hold\n\nPlain markdown, and the layout follows from what\'s on the card. [See every one in the showcase \u2192](/showcase)\n\n| Write | Get |\n|---|---|\n| `<!-- steps -->` | what follows, one press each, to the end of the card or a `<!-- steps: off -->` |\n| ` ```dot `, ` ```d2 ` | a Graphviz or D2 diagram, in the deck\'s colours |\n| ` ```echarts ` with JSON options | a chart, in the deck\'s colours |\n| ` ```svg ` | an SVG drawing: `currentColor` and `var(--text)`, `var(--accent)` follow dark and light |\n| a YouTube link alone on a line | the video: the next press plays it |\n| `<!-- view: full -->` | a 16:9 card for a big image |\n\nThe first and last cards animate in on their own.\n\n### Images\n\nThe layout follows from where the images are. The alt text is the caption.\n\n| Write | Get |\n|---|---|\n| an image alone | an image card, laid out by its shape: phone, landscape or 16:9 |\n| an image and text | a split card, the image on the side written first |\n| a list of images, diagrams or charts | a gallery; after `<!-- steps -->`, a carousel |\n| images in one paragraph | a grid, up to four a row |\n| `![](drawing.svg)` | an SVG image, as drawn |\n\n### Deck settings\n\nAn optional block at the top of the file:\n\n```yaml\n---\ntitle: My talk \u2190 page and video title\nduration: 10m \u2190 for the timer\naccent: "#3b82f6" \u2190 the deck\'s colour\nmode: light \u2190 open in light mode\nbrand: example.com \u2190 top-right corner text\nbrand_style: chip \u2190 the brand as a pill\nlogo: https://\u2026/l.png \u2190 image beside it\nbase: https://\u2026/deck/ \u2190 where images live\nsite: https://\u2026/ \u2190 where /images live\n---\n```\n\n`accent` is one colour; Slidetake makes it bright for dark mode and deep enough to read on white for light mode, and uses it for text accents, lines, charts and diagrams. Camera and recording settings are in [step 4](#4-record-a-video).\n\n### Decks from elsewhere\n\n**reveal.js** decks open as they are: `---` starts a slide and `--` a vertical one beneath it. Fragments (`fade-up`, `grow`, \u2026), `r-stack`, `<!-- .element: \u2026 -->`, `<section>` slides, `data-autoslide`, `data-gsap` entrances and `title-scramble` all work.\n\n**Older `+++` decks**, with `id`, `parent`, `x`, `y` frontmatter, still load.\n\n## 3\uFE0F\u20E3 Present\n\nClick a card to fly to it. Drag to pan; scroll or pinch to zoom. On a touch screen, the bottom bar adds \u2190 \u2192 buttons.\n\n| Key | Does |\n|---|---|\n| \u2192 \u2190 Space | next / previous step, in document order (PgDn and PgUp too: what clickers send) |\n| Home End | first / last slide |\n| \u2193 \u2191 | first child / parent |\n| O | the whole map; **O** again or Esc goes back |\n| F | fullscreen; **F** again or Esc leaves |\n| K, / or ? | these keys; again closes them |\n| 1 2 3 4 | focus, path, radial, tree |\n| + \u2212 | bigger / smaller slides (remembered; = works for +) |\n| E \xB7 L | editor \xB7 light / dark |\n| C \xB7 V | camera \xB7 camera layouts |\n| R \xB7 S | record \xB7 Studio |\n| P \xB7 D | in Studio: preview \xB7 download |\n\n### Layouts\n\n**Focus** doesn\'t travel at all: the next slide fades in where the last one was.\n\n**Path**, the default, is made for presenting and video: a staircase in presenting order. Each section is a row, and the next one starts just below where the last ended, so every move is a short step right or down.\n\n**Radial** rings out from the first card, and **tree** is a top-down chart.\n\nThe layout you pick is remembered in this browser, for every deck.\n\n### On screen\n\nText keeps one size within a section and only changes when the section does; charts and diagrams are fitted on their own.\n\n`<!-- view: overview -->` on a slide pulls back to the whole map for a beat before flying in: a good start to a chapter.\n\n### Progress and timer\n\nIn fullscreen the cursor and controls hide after two seconds without the mouse moving, and a thin bar along the bottom fills with every press.\n\nWith `duration: 10m` (or `90s`, `1h`, `12:30`), a lighter layer of the same colour grows behind it with the clock: if it shows past the solid fill, you\'re behind; if it reaches the end, the bar pulses. The timer is for you, so recordings show progress only, unless the deck says `timer: always`. `progress: off` hides the bar.\n\n## 4\uFE0F\u20E3 Record a video\n\nTwo modes, both slide by slide, so there\'s no timeline to edit afterwards. **\u25CF Record** in the bottom bar (or **R**) starts a take: the first time it opens Setup, then it records the slides without a take. **\u25CF Studio** (or **S**) is for picking takes and redoing slides; its \u2699 Setup switches between the modes.\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 330" font-family="IBM Plex Sans, system-ui, sans-serif">\n <defs>\n <marker id="head" viewBox="0 0 10 10" refX="8" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto-start-reverse">\n <path d="M0 0 L10 5 L0 10 z" style="fill:var(--accent)"/>\n </marker>\n </defs>\n\n <!-- lanes -->\n <rect x="10" y="20" width="940" height="140" rx="18" style="fill:var(--accent);fill-opacity:.04"/>\n <rect x="10" y="176" width="940" height="140" rx="18" style="fill:var(--accent);fill-opacity:.04"/>\n <text x="30" y="80" font-size="20" font-weight="700" style="fill:var(--accent)">Easy mode</text>\n <text x="30" y="104" font-size="13" style="fill:var(--text-muted)">needs nothing</text>\n <text x="30" y="122" font-size="13" style="fill:var(--text-muted)">to install</text>\n <text x="30" y="236" font-size="20" font-weight="700" style="fill:var(--accent)">Pro mode</text>\n <text x="30" y="260" font-size="13" style="fill:var(--text-muted)">needs OBS</text>\n <text x="30" y="278" font-size="13" style="fill:var(--text-muted)">and ffmpeg</text>\n\n <g font-size="15" font-weight="600" text-anchor="middle" fill="currentColor">\n <rect x="180" y="50" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="255" y="84">Chrome or Edge</text>\n <rect x="374" y="50" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="449" y="84">records the</text><text x="449" y="104">16:9 frame</text>\n <rect x="568" y="50" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="643" y="84">takes kept</text><text x="643" y="104">in the browser</text>\n <rect x="762" y="50" width="150" height="80" rx="14" style="fill:var(--node-bg)"/>\n <rect x="762" y="50" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>\n <text x="837" y="84">\u2193 Download</text><text x="837" y="104" font-weight="400" font-size="13" style="fill:var(--text-muted)">one MP4</text>\n\n <rect x="180" y="206" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="255" y="240">any browser</text><text x="255" y="260" font-weight="400" font-size="13" style="fill:var(--text-muted)">Safari, Firefox too</text>\n <rect x="374" y="206" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="449" y="240">OBS records</text><text x="449" y="260">the screen</text>\n <rect x="568" y="206" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.06;stroke:var(--accent);stroke-opacity:.45" stroke-width="1.5"/>\n <text x="643" y="240">one recording,</text><text x="643" y="260">every take in it</text>\n <rect x="762" y="206" width="150" height="80" rx="14" style="fill:var(--node-bg)"/>\n <rect x="762" y="206" width="150" height="80" rx="14" style="fill:var(--accent);fill-opacity:.12;stroke:var(--accent)" stroke-width="2"/>\n <text x="837" y="240">\u29C9 ffmpeg</text><text x="837" y="260" font-weight="400" font-size="13" style="fill:var(--text-muted)">the frame-exact cut</text>\n </g>\n <g fill="none" style="stroke:var(--accent)" stroke-width="2.5" marker-end="url(#head)">\n <path d="M332 90 H372"/><path d="M526 90 H566"/><path d="M720 90 H760"/>\n <path d="M332 246 H372"/><path d="M526 246 H566"/><path d="M720 246 H760"/>\n </g>\n</svg>\n```\n\n### Which mode?\n\n| | Easy mode: in the browser | Pro mode: with OBS |\n|---|---|---|\n| Install | nothing | [OBS Studio](https://obsproject.com) and [ffmpeg](https://ffmpeg.org), both free; a virtual display if your screen isn\'t 16:9 |\n| Browser | Chrome, Edge or another Chromium browser | any: Safari and Firefox too |\n| Screen | any shape: the deck is recorded in a 16:9 frame | a 16:9 screen, physical or virtual |\n| Quality | 1080p, or 720p on a smaller screen | whatever OBS records |\n| Final video | **Download** joins the picked takes, in the browser | an ffmpeg command |\n\n### Easy mode: record in the browser\n\n1. **\u25CF Record** (R) the first time opens **\u2699 Setup**: pick your camera (or **No camera**) and microphone. Recording turns the camera on and off by itself.\n2. **\u25CF Record** again, and share **this tab** when the browser asks. Only the 16:9 frame is recorded: slides and camera.\n3. Next time, **\u25CF Record** carries on with the slides that have no take yet. When every slide has one, it records from the slide on screen to the end.\n\nFor 1080p the frame needs 1920\xD71080 real pixels (a Retina laptop has them); 1280\xD7720 makes 720p. Smaller: use pro mode.\n\n### Retake slides later\n\nTick slides (shift-click for a range): **\u25CF Record** records just those, then stops.\n\nA take starts with the move in from the slide before it. So when you edit a slide, its takes and the next slide\'s are marked *outdated*: kept, but not picked until you record them again.\n\nTo drop a slide, delete it, then record the slide after it again.\n\n### Takes stay in this browser\n\nEach take is a file in this browser\'s private storage until you purge it, in \u2699 Setup \u2192 Files:\n\n| Purge | Removes |\n|---|---|\n| **Unused takes** | takes the video doesn\'t use |\n| **All takes** | this deck\'s takes |\n| **Every deck\'s takes\u2026** | everything Slidetake keeps here; it says how much first |\n\n### Pro mode: set up OBS\n\n1. In OBS: Tools \u2192 WebSocket Server Settings, turn it on.\n2. In Studio\'s **\u2699 Setup**, turn on **Pro** (top right), enter OBS\'s host, port and password, and **Connect**. Tick *Remember*.\n3. Present on a 16:9 screen, physical or virtual (say 1920\xD71080). Setup checks it.\n\nStudio opens in the mode you used last: its title says **Slidetake Studio Pro** in pro mode, with the size (`1080p`) beside it, and the camera and microphone a take uses on the right.\n\n### A 16:9 screen\n\nYouTube is 16:9. If your screen isn\'t (a MacBook is 16:10, an ultrawide 21:9), add a virtual 1920\xD71080 display, present there with **F**, and point OBS at it:\n\n| System | Virtual display |\n|---|---|\n| macOS | [BetterDisplay](https://github.com/waydabber/BetterDisplay) |\n| Windows | [Virtual Display Driver](https://github.com/VirtualDrivers/Virtual-Display-Driver) |\n| Linux | `xrandr` (X11), or a dummy HDMI plug |\n\nA dummy HDMI plug works on any system.\n\n### Connect from the address\n\n`?obs=localhost:4455` (or `?obs=localhost:4455:password`) in the address connects to OBS as the page opens. OBS runs on the same computer as the deck.\n\n### Add your camera\n\n**C** (or **Camera**) turns your webcam on in its box while presenting. A recording doesn\'t depend on it: it turns on the camera chosen for the deck (or none) by itself. The camera is off every time the page opens; until it\'s on, the deck\'s camera settings are ignored, so readers get slides using the whole screen.\n\n```yaml\n---\npip: bottom-right \u2190 corner, or none\npip_size: 24% \u2190 box width\npip_shape: rect \u2190 or circle\npip_mirror: yes \u2190 mirror the webcam\ncamera: 24%, full, off \u2190 what V cycles\n---\n```\n\nSlides are always placed clear of the brand and the camera box.\n\n### Move the camera per slide\n\nA comment in a slide changes the camera from that slide on:\n\n```md\n## Intro\n<!-- camera: full --> \u2190 fills the screen\n\n## Pricing\n<!-- camera: 18% flip --> \u2190 small, other side\n```\n\nWords you can combine: `on`, `off`, `full`, `behind` (the camera fills the frame under the slide, which stays on top: a talking head with slides), a size like `30%`, a corner, `flip`, `circle` / `rect`, `mirror` / `unmirror`. List them with commas to step through them on one slide: `full, on` opens on you, and the next \u2192 shrinks the camera to its corner and shows the slide.\n\n**V** steps through the deck\'s `camera:` list by hand.\n\n### Take by take\n\n**\u25CF Record** (R) counts down and starts. From then on \u2192 drives everything: slides, reveals and camera moves (a Bluetooth clicker works).\n\n- **\u2190** takes the slide again. The deck goes back and replays the slide\'s entry, so whichever take you pick joins smoothly\n- **B** (or **.**, a clicker\'s blank-screen key) pauses and resumes\n- one press past the last step ends the take; **Esc** ends it early\n\n## 5\uFE0F\u20E3 Edit the video\n\nWhen the take ends you\'re back in **Slidetake Studio**, the same in both modes:\n\n- the player, with **\u25CF Record** and **\u25B6 Preview** under it\n- every slide and its takes on the right: click one to preview it\n- **\u29C9 Chapters** copies the chapters (`0:00 Intro`, one per section) for the YouTube description. YouTube needs at least three, each 10 seconds or more\n\n### Download (easy mode)\n\n**\u25B6 Preview** plays the picked takes back to back.\n\n**\u2193 Download** joins them into one MP4 in seconds, without re-encoding the video, in a folder you pick once: `deck 2026-10-30 20-04-49.mp4`. Pressed again with nothing changed, it says where the video already is.\n\n### The ffmpeg cut (pro mode)\n\nStudio shows the deck\'s latest OBS recording; recording again replaces it here (the old file stays in your OBS folder).\n\nPreviews come from the OBS file: open it once, or, in Chrome and Edge, pick your OBS folder and later recordings load by themselves.\n\n**\u29C9 ffmpeg** copies a command that cuts the picked takes, frame-exact. \u2699 Setup \u2192 Video sets how it encodes.\n\n### Sound\n\nIn \u2699 Setup \u2192 Microphone:\n\n| Setting | Does |\n|---|---|\n| **Voice** (default) | Chrome\'s noise suppression: fans, hum, steady noise |\n| **Raw** | the mic as it is: for a good mic in a quiet room |\n| **\u{1F50A} Volume boost** (on) | raises the voice to YouTube\'s \u221214 LUFS, never past a \u22121.5 dB peak |\n| **Peak limiter** (off) | catches the few loud peaks, so the boost goes all the way |\n\nYouTube turns loud videos down but not quiet ones up, so without the boost your voice sounds quiet. With OBS, Volume boost adds `loudnorm` to the ffmpeg command.\n\n## 6\uFE0F\u20E3 Share and keep\n\nEvery deck you open is **read-only**: Slidetake\'s own decks, templates, files on the web and shared links. Viewing one never changes anything.\n\n### Your copy\n\n**Type in a deck**, and it becomes your copy, at `/edit`. It lives in this browser, remembers where it came from, and is there whenever you come back: **Your copy \u2192** in the editor takes you to it.\n\n- There\'s one copy at a time; the editor bar says whose it is, and marks **edited** while it has changes you haven\'t saved or shared.\n- **Reset to original** throws your edits away.\n- Starting a new copy asks first if the old one has edits you haven\'t kept.\n\n### Save and share\n\n**Save** downloads the markdown. **Share** copies a link: the short link while your copy still matches an online original, otherwise a `/share#deflate:\u2026` link with the whole deck compressed inside it. That part of a link never reaches a server. **Open** loads a markdown file from your computer into your copy, and **\u21E3 Load** a deck from a link: a GitHub file, a gist or any markdown URL.\n\n### Address options\n\n| Option | Does |\n|---|---|\n| `?edit=1` | opens the editor |\n| `?layout=focus` (path, radial, tree) | picks the layout; path is the default |\n| `?mode=light` | light theme |\n| `?duration=10m` | talk length for the timer |\n| `#card-id` | opens at a card |\n\n## \u{1F512} Your data\n\nNo accounts, and no decks kept. Recording stays on your device.\n\nNext, everything that leaves your browser, and where it goes: **[Privacy \u2192](/privacy)**\n';
1109
1401
 
1110
1402
  // src/features.md
1111
- var features_default = "---\ntitle: Slidetake Features\ndescription: \"Every Slidetake feature, one line each: recording in the browser or with OBS, a map instead of a stack, the camera in the deck, plain markdown, your colours, and where it runs.\"\nbrand: slidetake\npip: none\n---\n\n# ![](/favicon.svg) Slide<span class=\"st-take\">take</span> Features\n\nThe complete list, one line each. Press \u2192 to walk it, **O** for the map.\n\n## \u2702\uFE0F Record without timeline editing\n\nTwo modes, the same takes: **easy** in the browser, **pro** with OBS.\n\n| Feature | Advantage |\n|---|---|\n| **Takes per slide** (\u2190) | every attempt kept; recording never stops |\n| **Pause and resume** (B) | step away without a gap to cut |\n| **Slidetake Studio** | every slide's takes, Preview and Chapters, the same in both modes |\n| **Volume boost** | your voice at YouTube's loudness (\u221214 LUFS), never clipped |\n| **YouTube chapters** | one click copies them, one per section |\n| **Clicker support** | any Bluetooth presenter remote moves the deck |\n\n### Easy mode: in the browser\n\nFor Chrome, Edge or another Chromium browser, on a screen with enough pixels: 1920\xD71080 for 1080p (a Retina laptop has them), 1280\xD7720 for 720p.\n\n| Feature | Advantage |\n|---|---|\n| **Nothing to install** | the deck records itself in a 16:9 frame, on a screen of any shape |\n| **Retake any slide later** | tick slides and record just those; an edited slide's takes are marked outdated |\n| **Download** | the picked takes joined into one MP4 in seconds |\n| **Takes kept in the browser** | every take, from every recording, until you purge them |\n\n### Pro mode: with OBS\n\nFor Safari, Firefox or any browser, a screen too small for easy mode, or whatever OBS can record.\n\n| Feature | Advantage |\n|---|---|\n| **[OBS](https://obsproject.com), driven by the deck** | it starts and stops for you; you only talk |\n| **16:9 check** | Setup warns before a video with bars; use a 16:9 screen, physical or virtual |\n| **Frame-exact [ffmpeg](https://ffmpeg.org) cut** | one command, no video editor |\n\n## \u{1F5FA}\uFE0F A map, not a stack\n\n| Feature | Advantage |\n|---|---|\n| **Four layouts** | focus, path (the default), radial, tree |\n| **The map** (O) | the whole talk at a glance, and back |\n| **Map moments** (`view: overview`) | open a chapter on the big picture |\n| **Steady text** | one size per section, so slides don't jump |\n| **Short flights** | camera moves made to read well on video |\n| **Progress and timer** | a bar that fills, and a clock that tells you if you're behind |\n\n## \u{1F3A5} The camera is part of the deck\n\n| Feature | Advantage |\n|---|---|\n| **Webcam in its box** | you and the slides in one recording, no compositing |\n| **Camera per slide** | corner, size, side, circle, full screen or off |\n| **Steps on one slide** | open on you, then reveal the slide |\n| **Camera layouts** (V) | try them live, without editing the deck |\n| **Off until you turn it on** | not shown to viewers: the slides get the whole screen |\n\n## \u270D\uFE0F Plain markdown in\n\n| Feature | Advantage |\n|---|---|\n| **One file** | any editor, versioned in git, reviewed like code |\n| **Steps, diagrams, charts** | Graphviz, D2, SVG and ECharts as text |\n| **Image cards** | laid out by shape: beside text, across the card, galleries, carousels, grids |\n| **Full-screen cards** (`view: full`) | a 16:9 frame for a big image |\n| **YouTube** | plays on the next press, pauses when you leave |\n| **reveal.js and `+++` decks** | open as they are |\n\n## \u{1F3A8} Your colours\n\n| Feature | Advantage |\n|---|---|\n| **Dark and light** (L) | follows the reader, or your site |\n| **`accent:`** | one colour, shaded for both modes, charts and diagrams included |\n| **`brand:` and `logo:`** | your name on every frame |\n| **Site colours** | embedded decks wear your site's palette and header |\n\n## \u{1F310} Run it anywhere\n\n| Where | Also gives you |\n|---|---|\n| **slidetake.com** | share links that carry the whole deck; your copy of any deck, kept in this browser |\n| **Your computer** | relative images, reload on save, browser edits saved to the file; OBS on another machine |\n| **Your website** | a clean viewer in your site's colours; the hugo-continuum theme with one frontmatter key |\n\n## \u{1F512} Private and open\n\n| Feature | Advantage |\n|---|---|\n| **No accounts, no stored decks** | nothing to sign up for or lose ([privacy](/privacy)) |\n| **Decks inside links** | the deck stays in the `#` part, never sent to a server |\n| **Analytics you can turn off** | one button on slidetake.com |\n| **Open source, Apache 2.0** | read it, host it, change it: [github.com/slidetake/slidetake](https://github.com/slidetake/slidetake) |\n\nNext, see them working: **[Showcase \u2192](/showcase)**\n";
1403
+ var features_default = "---\ntitle: Slidetake Features\ndescription: \"Every Slidetake feature, one line each: recording in the browser or with OBS, a map instead of a stack, the camera in the deck, plain markdown, your colours, and where it runs.\"\nbrand: slidetake\npip: none\n---\n\n# ![](/favicon.svg) Slide<span class=\"st-take\">take</span> Features\n\nThe complete list, one line each. Press \u2192 to walk it, **O** for the map.\n\n## \u270D\uFE0F Write in markdown, with AI\n\n| Feature | Advantage |\n|---|---|\n| **The AI loop** (`npx slidetake`) | an agent writes the file; the slide you're on redraws on save |\n| **One file** | any editor, versioned in git, reviewed like code |\n| **Steps, diagrams, charts** | Graphviz, D2, SVG and ECharts as text |\n| **Image cards** | laid out by shape: beside text, across the card, galleries, carousels, grids |\n| **Full-screen cards** (`view: full`) | a 16:9 frame for a big image |\n| **YouTube** | plays on the next press, pauses when you leave |\n| **reveal.js and `+++` decks** | open as they are |\n\n## \u{1F5FA}\uFE0F Present on a spatial canvas\n\n| Feature | Advantage |\n|---|---|\n| **Four layouts** | focus, path (the default), radial, tree |\n| **The map** (O) | the whole talk at a glance, and back |\n| **Map moments** (`view: overview`) | open a chapter on the big picture |\n| **Steady text** | one size per section, so slides don't jump |\n| **Short flights** | camera moves made to read well on video |\n| **Progress and timer** | a bar that fills, and a clock that tells you if you're behind |\n\n### The camera is part of the deck\n\n| Feature | Advantage |\n|---|---|\n| **Webcam in its box** | you and the slides in one recording, no compositing |\n| **Camera per slide** | corner, size, side, circle, full screen, behind the slide or off |\n| **Steps on one slide** | open on you, then reveal the slide |\n| **Camera layouts** (V) | try them live, without editing the deck |\n| **Off until you turn it on** | not shown to viewers: the slides get the whole screen |\n\n### Your colours\n\n| Feature | Advantage |\n|---|---|\n| **Dark and light** (L) | follows the reader, or your site |\n| **`accent:`** | one colour, shaded for both modes, charts and diagrams included |\n| **`brand:` and `logo:`** | your name on every frame |\n| **Site colours** | embedded decks wear your site's palette and header |\n\n## \u{1F534} Record slide by slide\n\nTwo modes, the same takes: **easy** in the browser, **pro** with OBS.\n\n| Feature | Advantage |\n|---|---|\n| **Takes per slide** (\u2190) | every attempt kept; recording never stops |\n| **Pause and resume** (B) | step away without a gap to cut |\n| **Clicker support** | any Bluetooth presenter remote moves the deck |\n\n### Easy mode: in the browser\n\nFor Chrome, Edge or another Chromium browser, on a screen with enough pixels: 1920\xD71080 for 1080p (a Retina laptop has them), 1280\xD7720 for 720p.\n\n| Feature | Advantage |\n|---|---|\n| **Nothing to install** | the deck records itself in a 16:9 frame, on a screen of any shape |\n| **Retake any slide later** | tick slides and record just those; an edited slide's takes are marked outdated |\n| **Takes kept in the browser** | every take, from every recording, until you purge them |\n\n### Pro mode: with OBS\n\nFor Safari, Firefox or any browser, a screen too small for easy mode, or whatever OBS can record.\n\n| Feature | Advantage |\n|---|---|\n| **[OBS](https://obsproject.com), driven by the deck** | it starts and stops for you; you only talk |\n| **16:9 check** | Setup warns before a video with bars; use a 16:9 screen, physical or virtual |\n\n## \u2702\uFE0F Edit by picking the best take\n\n| Feature | Advantage |\n|---|---|\n| **Slidetake Studio** | every slide's takes, Preview and Chapters, the same in both modes |\n| **Download** (easy mode) | the picked takes joined into one MP4 in seconds |\n| **Frame-exact [ffmpeg](https://ffmpeg.org) cut** (pro mode) | one command, no video editor |\n| **Volume boost** | your voice at YouTube's loudness (\u221214 LUFS), never clipped |\n| **YouTube chapters** | one click copies them, one per section |\n\n## \u{1F310} Run it anywhere\n\n| Where | Also gives you |\n|---|---|\n| **slidetake.com** | share links that carry the whole deck; your copy of any deck, kept in this browser |\n| **Your computer** | relative images, reload on save, browser edits saved to the file |\n| **Your website** | a clean viewer in your site's colours; the hugo-continuum theme with one frontmatter key |\n\n## \u{1F512} Private and open\n\n| Feature | Advantage |\n|---|---|\n| **No accounts, no stored decks** | nothing to sign up for or lose ([privacy](/privacy)) |\n| **Decks inside links** | the deck stays in the `#` part, never sent to a server |\n| **Analytics you can turn off** | one button on slidetake.com |\n| **Open source, Apache 2.0** | read it, host it, change it: [github.com/slidetake/slidetake](https://github.com/slidetake/slidetake) |\n\nNext, see them working: **[Showcase \u2192](/showcase)**\n";
1112
1404
 
1113
1405
  // src/privacy.md
1114
1406
  var privacy_default = "---\ntitle: Slidetake Privacy\nbrand: slidetake\npip: none\n---\n\n# ![](/favicon.svg) Slide<span class=\"st-take\">take</span> Privacy\n\nSlidetake has no accounts and keeps no decks. This page lists everything that leaves your browser, and where it goes.\n\n*Last updated 31 October 2026.*\n\n## \u{1F4CA} What slidetake.com collects\n\nslidetake.com counts visits with **Google Analytics**: the page's address, your browser and screen, and roughly where you are. Google Analytics sets its own cookies (`_ga`) to tell visits apart.\n\nThe address it records leaves out the part after `#` and `?obs=`, so neither a deck carried in a link nor an OBS password reaches it.\n\n**You can turn it off:** the **Privacy & analytics** button in the header (the pulse icon) \u2192 *Turn analytics off*. Nothing more is sent from that browser, the `_ga` cookies are removed, and the tag isn't loaded on later visits. Cloudflare, which serves the site, still sees each request the way any web server does.\n\n> That is the only analytics. A copy of Slidetake you host yourself, the embed on your own site, and `npx slidetake` send none.\n\n## \u{1F3A5} Recording stays on your device\n\nYour camera, your microphone and the tab you share are read only by your browser, and only while you record. Nothing is uploaded:\n\n- **Easy mode** saves each take in this browser's private storage. **\u2193 Download** writes the video to a folder you pick.\n- **Pro mode** has OBS record on your computer; Slidetake only tells it when to start and stop.\n\n## \u{1F4BE} What stays in your browser\n\nKept in this browser's storage on your device, and never sent anywhere:\n\n| What | Why |\n|---|---|\n| Your copy of a deck | so it's there when you come back |\n| Theme, layout, slide size, editor width | your preferences |\n| Recorded takes | to cut the video, until you purge them |\n| Camera, mic and sound choices | your recording setup |\n| Folders you pick for videos | so Studio needn't ask again |\n| OBS host, port and password | only with *Remember*, as plain text |\n| Your analytics choice | so *off* stays off |\n\nClearing this site's data in your browser removes all of it, recorded takes included.\n\n## \u{1F310} Services a deck can reach\n\nOpening Slidetake, or a deck that uses these, loads files from other services. Each sees your IP address, as with any web request.\n\n| Service | When |\n|---|---|\n| Google Fonts | every page, for the typefaces |\n| cdnjs, jsDelivr | every page (animation, markdown), and for diagrams, charts, recording and OBS |\n| esm.sh | a deck with a D2 diagram |\n| GitHub | opening a GitHub file or gist |\n| YouTube (youtube-nocookie.com) | a deck with a YouTube link; YouTube's own cookies only once you play it |\n| The deck's own address | opening a deck from a link, and its images |\n\nOBS is reached only on the address you give it, normally your own computer.\n\n## \u{1F517} Decks in links\n\nA shared link carries the whole deck after `#`. Browsers never send that part of an address to a server, so the deck travels from you to whoever opens the link without passing through slidetake.com.\n\n## \u{1F4BB} On your computer\n\n`npx slidetake` runs on your machine, serves only the deck's folder, and listens only on `localhost`. It sends nothing to slidetake.com or anyone else. The deck's own diagrams, charts and fonts load from the services above as on the web.\n\n## \u2709\uFE0F Questions\n\nOpen an issue on [github.com/slidetake/slidetake](https://github.com/slidetake/slidetake/issues). Slidetake is open source, so everything above can be checked in its code.\n";
@@ -1123,7 +1415,7 @@
1123
1415
  var recording_default = "---\ntitle: Video title\nduration: 10m\npip: bottom-right\npip_size: 24%\ncamera: 24%, 40%, full, off\n---\n\n<!-- camera: full, on -->\n\n# Video title\n\nOpens full screen on you; the next press shows this slide with you in the corner.\n\n## \u{1F4CC} Disclaimer\n\n<!-- camera: off, on -->\n\nOpens without the camera, so the text has the whole screen; the next press brings you back.\n\n## \u{1F9ED} Contents\n\n- Part one\n- Part two\n- Part three\n\n## \u{1F539} Part one\n\n<!-- view: overview -->\n\nThe overview comment pulls back to the whole map first: a good start to a chapter.\n\n### A detail\n\nSlides you talk over in the corner.\n\n## \u{1F538} Part two\n\n### A detail\n\n## \u{1F537} Part three\n\n### A detail\n\n## \u{1F64F} Thanks for watching\n\n<!-- camera: on, full, on, off -->\n\nEnds on you full screen, then back to the slide, then without the camera.\n";
1124
1416
 
1125
1417
  // examples/showcase.md
1126
- var showcase_default = '---\ntitle: Slidetake Showcase\ndescription: "Everything a Slidetake deck can hold, working on screen: text, steps, code, Graphviz, D2, SVG, charts, image layouts, YouTube, the camera and the map."\nbrand: slidetake\nduration: 10m\n---\n\n# ![](https://slidetake.com/favicon.svg) Slide<span class="st-take">take</span> Showcase\n\nEverything a deck can hold, written in plain markdown and working on screen. Open **\u270E Editor** to see the source of any card. Press \u2192 to walk it, **O** for the map.\n\n## \u270D\uFE0F Text\n\nParagraphs, **bold**, *italic*, `code`, [links](https://slidetake.com) and lists, as markdown writes them.\n\n- One point\n- Another point\n - A detail under it\n\n### Steps\n\nPut `<!-- steps -->` before a list and it reveals one item per press. Everything after it on the card steps too, so a closing line waits its turn:\n\n<!-- steps -->\n- First, the problem\n- Then, the idea\n- Finally, the result\n\n> The conclusion comes last. `<!-- steps: off -->` ends the steps early.\n\n### Quotes and tables\n\n> A quote stands out from the text around it.\n\n| Plan | Price | Users |\n|---|---:|---:|\n| Starter | \u20B90 | 1 |\n| Team | \u20B9499 | 10 |\n\n### Code\n\n```python\ndef take(slide):\n return slide.best_attempt()\n```\n\n### Links between cards\n\n`{#charts}` at the end of a heading gives its card an id, and a link to `#charts` flies there: [see the charts](#charts).\n\n## \u{1F4D0} Diagrams\n\nWrite the diagram in a fenced block named after its language.\n\n### Graphviz\n\n```dot\ndigraph {\n rankdir=LR\n node [shape=box style=rounded]\n Markdown -> Deck -> Takes -> Video\n}\n```\n\n### D2\n\n```d2\ndirection: right\nwrite: Write {shape: rectangle}\npresent: Present\nrecord: Record\nwrite -> present -> record: one session\n```\n\n### SVG\n\nDrawn inline, so `currentColor` and `var(--accent)` follow the deck\'s colours. Press **L** and watch it switch.\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 130">\n <rect x="10" y="10" width="90" height="80" rx="10" style="fill:var(--accent)"/>\n <rect x="115" y="10" width="90" height="80" rx="10" style="fill:var(--accent);opacity:.6"/>\n <rect x="220" y="10" width="90" height="80" rx="10" fill="none" stroke="currentColor" stroke-width="2"/>\n <text x="160" y="120" text-anchor="middle" font-size="14" fill="currentColor">accent, faded, outlined</text>\n</svg>\n```\n\n### One at a time\n\nDiagrams or charts in a row after `<!-- steps -->` become a carousel: one per press.\n\n<!-- steps -->\n\n```dot\ndigraph { rankdir=LR; node [shape=box style=rounded]; Idea -> Markdown -> Deck -> Takes }\n```\n\n```dot\ndigraph { rankdir=LR; node [shape=box style=rounded]; Takes -> Studio -> Video -> YouTube }\n```\n\n## \u{1F4CA} Charts {#charts}\n\nECharts, as a fenced `echarts` block of JSON options.\n\n### A bar chart\n\n```echarts\n{\n "xAxis": {"type": "category", "data": ["Jan", "Feb", "Mar", "Apr", "May"]},\n "yAxis": {"type": "value"},\n "series": [{"type": "bar", "data": [12, 19, 15, 24, 30]}]\n}\n```\n\n### A donut\n\n```echarts\n{\n "series": [{"type": "pie", "radius": ["45%", "70%"],\n "data": [{"name": "Equity", "value": 85}, {"name": "Debt", "value": 5}, {"name": "Gold", "value": 10}]}]\n}\n```\n\n## \u{1F5BC}\uFE0F Images\n\nThe layout comes from what\'s on the slide; the alt text is the caption.\n\n### One image\n\n![An image alone fills the card edge to edge](https://slidetake.com/og.jpg)\n\n### A tall image\n\n![A square or tall image sits beside its heading](https://slidetake.com/apple-touch-icon.png)\n\n### Image and text\n\n![Written first, so it sits on the left](https://slidetake.com/og.jpg)\n\nAn image beside text makes a split card. Write the text first and the image moves to the right.\n\n### A gallery\n\nA list of images is a gallery. With `<!-- steps -->` it becomes a carousel: one image at a time, the next on each press. Diagrams and charts work the same, and after `<!-- steps -->` two or more of them in a row are a carousel without the list.\n\n<!-- steps -->\n- ![The logo](https://slidetake.com/favicon.svg)\n- ![The home-screen icon](https://slidetake.com/apple-touch-icon.png)\n- ![The link preview](https://slidetake.com/og.jpg)\n\n### A grid\n\nSeveral images in one paragraph sit side by side, up to four a row:\n\n![Logo](https://slidetake.com/favicon.svg) ![Icon](https://slidetake.com/apple-touch-icon.png) ![Preview](https://slidetake.com/og.jpg)\n\n### Full screen\n\n<!-- view: full -->\n\n![A card tagged view: full is a 16:9 frame for a big image](https://slidetake.com/og.jpg)\n\n## \u25B6\uFE0F YouTube\n\nhttps://www.youtube.com/watch?v=jNQXAC9IVRw\n\nA YouTube link alone on a line becomes the video: the next press plays it, leaving the slide pauses it.\n\n## \u{1F3A5} Camera\n\n<!-- camera: on, full, on -->\n\nTry it: press **C** to turn on your camera, then \u2192. This card puts you in the corner, then full screen, then back, from one comment: `<!-- camera: on, full, on -->`.\n\n## \u{1F5FA}\uFE0F Layouts and the map\n\n<!-- view: overview -->\n\nThis card began by pulling back to the whole map: `<!-- view: overview -->` does that. Try it: press **1** to **4** for focus, path (the default), radial and tree, and **O** to zoom out and back.\n\n### Progress and timer\n\nPress **F**: in fullscreen a thin bar along the bottom fills as you go. This deck says `duration: 10m`, so a lighter clock layer grows behind it; if it shows past the fill, you\'re behind.\n\n## \u{1F3A8} Colours\n\nTry it: press **L** now. Dark and light switch, charts and diagrams included.\n\nA deck sets its own colour with one line, `accent: "#3b82f6"`, shaded for both modes. See it in [blue](/share#deflate:ZVJNa9wwEL3rV0y1hzZGTummn6YENodCoYVCAjksC9Zak5VY1zKacXZN2Gt-QH9if0kl2aSBnPTGevPmjZ_KshTsuMUKvnewbQcUummw4wrk4mL7eXn3UYoyksTiiSBurCMw2OzBagLfIeCRg4bWRagZ2CKw7xXUL7RqBbozgPcYRrau28Gdb1t_oAo4iqisQSpLNFYHzvRUGad3Qf8-h18BiaAofhRFnAKECFvPFshqg3QenS7gmrEnIb6-KkughKEsL0UZu658a4pCwToO2tPmzVuy_tBowrM8yaI20RUB6z1OLnzrhxB7rz0YjzR5n3b1Xab0mm0krGanIa2lgx_mmlpnEEY_vA6pJRtcTdsJUdc1ZkjiQR5XR0eyggfJY48RyEYz7nwYpQJpNOv4bS1_-i7VNwOm4xZNruyQjm_Byc0pgvGF1r2O6cmTEiAJg8N0u_5_vdXh-ZT3Cj4p-KDgi4J3y81pc0peZ_NzGNm-WQrjAjbsfFfF5XeWxSE4RigvoY9hxReQYKT4YKr8XihGGOlPile62QuxTkfKNP-1ORf4-_jnWUyLKQ86E_8A), [coral](/share#deflate:ZVJNa9wwEL3rV0y1hzZGSkn6EWJKYHMoFFooJNDDsrATa7IS61pGI2fXhL32B-Qn9pdUkk0TyElvrDdv3vhJay2iiy3V8K2DxgdsBTYNdbEGubi_vPhw9lkKnVhi8cwQt9YxGGp2YJHBdwR0iAGhdQlihGgJou8VbF6JbRRgZ4AeKIzRum4L975t_Z5riElEFQ1WRaKxGGKh58o43Ab8fQo_AzFDVX2vqjQFmAjufLTAFg3xabK6gJtIPQvx5Y3WwBmD1ldCp65r35qqUrBKg3a8fveerd83yHRSJllCk1wxRNzR5MK3fgip98aD8cST92lX3xVKj9EmwnJ2GvJaGPww19w6QzD64W3ILcXgctpOiM1mQwWyeJSH5cGxrOFRxrGnBGSDkbY-jFKBNBgxfVvJH77L9e1A-fhFplR2yMfX4OT6mMD4SusB29RxVAIkU3CUb1fP13cYXk75qOBCwScFlwrOztfH9TF7nc3PYRT75lwYF6iJznd1Wn5ro9gHFwn0FfQprPQCMkwUH0xd3gunCBP9v-I1NjshVvnImZa_NucCf_88vYhpMeXBJ-If) or [violet](/share#deflate:ZVJNa9wwEL3rV0y1hzZGTmlo-mFKYHMoFFooJJDDsmCtNVmJdS2jGe-uCXvtD-hP7C-pJJt0ISe9sd68eeOnsiwFO26xgm8d7J1vkYVuGuy4Arn4tLluHj9IUUaaWJxRxL11BAabHVhN4DsEPHLQ0LoINQNbBPa9gvqFWq1AdwZwj2Fk67otPPq29QeqgKOIyhqkskRjdeBMT5Vxehv0r0v4GZAIiuJ7UcQpQIiw8WyBrDZIl9HrAu4YexLiy6uyBEoYyvJGlLHr1remKBSs4qAdrd-8JesPjSa8yJMsahNdEbDe4eTCt34IsffOg_FIk_dpV99lSq_ZRsJydhrSWjr4Ya6pdQZh9MPrkFqyweW0nRB1XWOGJJ7kcXl0JCt4kjz2GIFsNOPWh1EqkEazjt9W8ofvUn0_YDoe0OTKDun4GpxcnyIYX2jtdRs7TkqAJAwO0-3q__VGh_Mp7xV8VHCt4LOCd1fr0_qUvM7m5zCyfXMljAvYsPNdFZffWhaH4BihvIE-hhVfQIKR4oOp8nuhGGGkPyve6mYnxCodKdP81-Zc4O_vP2cxLaY86EL8Aw).\n\n## \u2702\uFE0F Record a video\n\nTry it: press **\u25CF Studio** (top right), then **\u25CF Record**. Stumble on a slide, press \u2190, say it again; then pick the best take of each. Step by step: [Docs \u2192 Record a video](/docs#4-record-a-video).\n\n## \u{1F310} Open from anywhere\n\nTry it: this deck is a file on GitHub, and opens from there too: **[slidetake.com/gh/slidetake/slidetake/examples/showcase.md](/gh/slidetake/slidetake/examples/showcase.md)**. Gists, any markdown URL, and a link with the deck inside it open the same way, and `npx slidetake deck.md` opens one from your computer.\n\n## \u{1F680} Start your own\n\nOpen **\u270E Editor** and press **New** for a template (blank, talk or recording), or type in this deck to make it your copy.\n\nThe templates and this deck live in [examples/](https://github.com/slidetake/slidetake/tree/main/examples) on GitHub.\n\nNext, how it all works, step by step: **[Docs \u2192](/docs)**\n';
1418
+ var showcase_default = '---\ntitle: Slidetake Showcase\ndescription: "Everything a Slidetake deck can hold, working on screen: text, steps, code, Graphviz, D2, SVG, charts, image layouts, YouTube, the camera and the map."\nbrand: slidetake\nduration: 10m\n---\n\n# ![](https://slidetake.com/favicon.svg) Slide<span class="st-take">take</span> Showcase\n\nEverything a deck can hold, written in plain markdown and working on screen. Open **\u270E Editor** to see the source of any card. Press \u2192 to walk it, **O** for the map.\n\n## \u270D\uFE0F Text\n\nParagraphs, **bold**, *italic*, `code`, [links](https://slidetake.com) and lists, as markdown writes them.\n\n- One point\n- Another point\n - A detail under it\n\n### Steps\n\nPut `<!-- steps -->` before a list and it reveals one item per press. Everything after it on the card steps too, so a closing line waits its turn:\n\n<!-- steps -->\n- First, the problem\n- Then, the idea\n- Finally, the result\n\n> The conclusion comes last. `<!-- steps: off -->` ends the steps early.\n\n### Quotes and tables\n\n> A quote stands out from the text around it.\n\n| Plan | Price | Users |\n|---|---:|---:|\n| Starter | \u20B90 | 1 |\n| Team | \u20B9499 | 10 |\n\n### Code\n\n```python\ndef take(slide):\n return slide.best_attempt()\n```\n\n### Links between cards\n\n`{#charts}` at the end of a heading gives its card an id, and a link to `#charts` flies there: [see the charts](#charts).\n\n## \u{1F4D0} Diagrams\n\nWrite the diagram in a fenced block named after its language.\n\n### Graphviz\n\n```dot\ndigraph {\n rankdir=LR\n node [shape=box style=rounded]\n Markdown -> Deck -> Takes -> Video\n}\n```\n\n### D2\n\n```d2\ndirection: right\nwrite: Write {shape: rectangle}\npresent: Present\nrecord: Record\nwrite -> present -> record: one session\n```\n\n### SVG\n\nDrawn inline, so `currentColor` and `var(--accent)` follow the deck\'s colours. Press **L** and watch it switch.\n\n```svg\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 130">\n <rect x="10" y="10" width="90" height="80" rx="10" style="fill:var(--accent)"/>\n <rect x="115" y="10" width="90" height="80" rx="10" style="fill:var(--accent);opacity:.6"/>\n <rect x="220" y="10" width="90" height="80" rx="10" fill="none" stroke="currentColor" stroke-width="2"/>\n <text x="160" y="120" text-anchor="middle" font-size="14" fill="currentColor">accent, faded, outlined</text>\n</svg>\n```\n\n### One at a time\n\nDiagrams or charts in a row after `<!-- steps -->` become a carousel: one per press.\n\n<!-- steps -->\n\n```dot\ndigraph { rankdir=LR; node [shape=box style=rounded]; Idea -> Markdown -> Deck -> Takes }\n```\n\n```dot\ndigraph { rankdir=LR; node [shape=box style=rounded]; Takes -> Studio -> Video -> YouTube }\n```\n\n## \u{1F4CA} Charts {#charts}\n\nECharts, as a fenced `echarts` block of JSON options.\n\n### A bar chart\n\n```echarts\n{\n "xAxis": {"type": "category", "data": ["Jan", "Feb", "Mar", "Apr", "May"]},\n "yAxis": {"type": "value"},\n "series": [{"type": "bar", "data": [12, 19, 15, 24, 30]}]\n}\n```\n\n### A donut\n\n```echarts\n{\n "series": [{"type": "pie", "radius": ["45%", "70%"],\n "data": [{"name": "Equity", "value": 85}, {"name": "Debt", "value": 5}, {"name": "Gold", "value": 10}]}]\n}\n```\n\n## \u{1F5BC}\uFE0F Images\n\nThe layout comes from what\'s on the slide; the alt text is the caption.\n\n### One image\n\n![An image alone fills the card edge to edge](https://slidetake.com/og.jpg)\n\n### A tall image\n\n![A square or tall image sits beside its heading](https://slidetake.com/apple-touch-icon.png)\n\n### Image and text\n\n![Written first, so it sits on the left](https://slidetake.com/og.jpg)\n\nAn image beside text makes a split card. Write the text first and the image moves to the right.\n\n### A gallery\n\nA list of images is a gallery. With `<!-- steps -->` it becomes a carousel: one image at a time, the next on each press. Diagrams and charts work the same, and after `<!-- steps -->` two or more of them in a row are a carousel without the list.\n\n<!-- steps -->\n- ![The logo](https://slidetake.com/favicon.svg)\n- ![The home-screen icon](https://slidetake.com/apple-touch-icon.png)\n- ![The link preview](https://slidetake.com/og.jpg)\n\n### A grid\n\nSeveral images in one paragraph sit side by side, up to four a row:\n\n![Logo](https://slidetake.com/favicon.svg) ![Icon](https://slidetake.com/apple-touch-icon.png) ![Preview](https://slidetake.com/og.jpg)\n\n### Full screen\n\n<!-- view: full -->\n\n![A card tagged view: full is a 16:9 frame for a big image](https://slidetake.com/og.jpg)\n\n## \u25B6\uFE0F YouTube\n\nhttps://www.youtube.com/watch?v=jNQXAC9IVRw\n\nA YouTube link alone on a line becomes the video: the next press plays it, leaving the slide pauses it.\n\n## \u{1F3A5} Camera\n\n<!-- camera: on, full, on -->\n\nTry it: press **C** to turn on your camera, then \u2192. This card puts you in the corner, then full screen, then back, from one comment: `<!-- camera: on, full, on -->`.\n\n## \u{1F5FA}\uFE0F Layouts and the map\n\n<!-- view: overview -->\n\nThis card began by pulling back to the whole map: `<!-- view: overview -->` does that. Try it: press **1** to **4** for focus, path (the default), radial and tree, and **O** to zoom out and back.\n\n### Progress and timer\n\nPress **F**: in fullscreen a thin bar along the bottom fills as you go. This deck says `duration: 10m`, so a lighter clock layer grows behind it; if it shows past the fill, you\'re behind.\n\n## \u{1F3A8} Colours\n\nTry it: press **L** now. Dark and light switch, charts and diagrams included.\n\nA deck sets its own colour with one line, `accent: "#3b82f6"`, shaded for both modes. See it in [blue](/share#deflate:ZVJNa9wwEL3rV0y1hzZGTummn6YENodCoYVCAjksC9Zak5VY1zKacXZN2Gt-QH9if0kl2aSBnPTGevPmjZ_KshTsuMUKvnewbQcUummw4wrk4mL7eXn3UYoyksTiiSBurCMw2OzBagLfIeCRg4bWRagZ2CKw7xXUL7RqBbozgPcYRrau28Gdb1t_oAo4iqisQSpLNFYHzvRUGad3Qf8-h18BiaAofhRFnAKECFvPFshqg3QenS7gmrEnIb6-KkughKEsL0UZu658a4pCwToO2tPmzVuy_tBowrM8yaI20RUB6z1OLnzrhxB7rz0YjzR5n3b1Xab0mm0krGanIa2lgx_mmlpnEEY_vA6pJRtcTdsJUdc1ZkjiQR5XR0eyggfJY48RyEYz7nwYpQJpNOv4bS1_-i7VNwOm4xZNruyQjm_Byc0pgvGF1r2O6cmTEiAJg8N0u_5_vdXh-ZT3Cj4p-KDgi4J3y81pc0peZ_NzGNm-WQrjAjbsfFfF5XeWxSE4RigvoY9hxReQYKT4YKr8XihGGOlPile62QuxTkfKNP-1ORf4-_jnWUyLKQ86E_8A), [coral](/share#deflate:ZVJNa9wwEL3rV0y1hzZGSkn6EWJKYHMoFFooJNDDsrATa7IS61pGI2fXhL32B-Qn9pdUkk0TyElvrDdv3vhJay2iiy3V8K2DxgdsBTYNdbEGubi_vPhw9lkKnVhi8cwQt9YxGGp2YJHBdwR0iAGhdQlihGgJou8VbF6JbRRgZ4AeKIzRum4L975t_Z5riElEFQ1WRaKxGGKh58o43Ab8fQo_AzFDVX2vqjQFmAjufLTAFg3xabK6gJtIPQvx5Y3WwBmD1ldCp65r35qqUrBKg3a8fveerd83yHRSJllCk1wxRNzR5MK3fgip98aD8cST92lX3xVKj9EmwnJ2GvJaGPww19w6QzD64W3ILcXgctpOiM1mQwWyeJSH5cGxrOFRxrGnBGSDkbY-jFKBNBgxfVvJH77L9e1A-fhFplR2yMfX4OT6mMD4SusB29RxVAIkU3CUb1fP13cYXk75qOBCwScFlwrOztfH9TF7nc3PYRT75lwYF6iJznd1Wn5ro9gHFwn0FfQprPQCMkwUH0xd3gunCBP9v-I1NjshVvnImZa_NucCf_88vYhpMeXBJ-If) or [violet](/share#deflate:ZVJNa9wwEL3rV0y1hzZGTmlo-mFKYHMoFFooJJDDsmCtNVmJdS2jGe-uCXvtD-hP7C-pJJt0ISe9sd68eeOnsiwFO26xgm8d7J1vkYVuGuy4Arn4tLluHj9IUUaaWJxRxL11BAabHVhN4DsEPHLQ0LoINQNbBPa9gvqFWq1AdwZwj2Fk67otPPq29QeqgKOIyhqkskRjdeBMT5Vxehv0r0v4GZAIiuJ7UcQpQIiw8WyBrDZIl9HrAu4YexLiy6uyBEoYyvJGlLHr1remKBSs4qAdrd-8JesPjSa8yJMsahNdEbDe4eTCt34IsffOg_FIk_dpV99lSq_ZRsJydhrSWjr4Ya6pdQZh9MPrkFqyweW0nRB1XWOGJJ7kcXl0JCt4kjz2GIFsNOPWh1EqkEazjt9W8ofvUn0_YDoe0OTKDun4GpxcnyIYX2jtdRs7TkqAJAwO0-3q__VGh_Mp7xV8VHCt4LOCd1fr0_qUvM7m5zCyfXMljAvYsPNdFZffWhaH4BihvIE-hhVfQIKR4oOp8nuhGGGkPyve6mYnxCodKdP81-Zc4O_vP2cxLaY86EL8Aw).\n\n## \u2702\uFE0F Record a video\n\nTry it: press **\u25CF Record** in the bottom bar, or **R**. Stumble on a slide, press \u2190, say it again; then pick the best take of each. Step by step: [Docs \u2192 Record a video](/docs#4-record-a-video).\n\n## \u{1F310} Open from anywhere\n\nTry it: this deck is a file on GitHub, and opens from there too: **[slidetake.com/gh/slidetake/slidetake/examples/showcase.md](/gh/slidetake/slidetake/examples/showcase.md)**. Gists, any markdown URL, and a link with the deck inside it open the same way, and `npx slidetake deck.md` opens one from your computer.\n\n## \u{1F680} Start your own\n\nOpen **\u270E Editor** and press **New** for a template (blank, talk or recording), or type in this deck to make it your copy.\n\nThe templates and this deck live in [examples/](https://github.com/slidetake/slidetake/tree/main/examples) on GitHub.\n\nNext, how it all works, step by step: **[Docs \u2192](/docs)**\n';
1127
1419
 
1128
1420
  // src/core/text.js
1129
1421
  function slugify(s) {
@@ -1468,9 +1760,16 @@
1468
1760
  } else if (t === "on" || t === "pip" || t === "show") {
1469
1761
  st.off = false;
1470
1762
  st.full = false;
1763
+ st.behind = false;
1471
1764
  st.used = true;
1472
1765
  } else if (t === "full" || t === "fullscreen") {
1473
1766
  st.full = true;
1767
+ st.behind = false;
1768
+ st.off = false;
1769
+ st.used = true;
1770
+ } else if (t === "behind" || t === "under") {
1771
+ st.full = true;
1772
+ st.behind = true;
1474
1773
  st.off = false;
1475
1774
  st.used = true;
1476
1775
  } else if (/^\d+(\.\d+)?%?$/.test(t)) {
@@ -2374,6 +2673,10 @@
2374
2673
  flip: false,
2375
2674
  used: false
2376
2675
  };
2676
+ if (st.corner === "behind" || st.corner === "under") {
2677
+ st.corner = "bottom-right";
2678
+ applyPreset(st, "behind");
2679
+ }
2377
2680
  applyPreset(st, slideCameraPreset());
2378
2681
  if (camManual && !/\b(off|hide)\b/i.test(camManual)) st.off = false;
2379
2682
  applyPreset(st, camManual);
@@ -2386,10 +2689,11 @@
2386
2689
  const first = !pipEl.hidden && pipEl.offsetWidth ? pipEl.getBoundingClientRect() : null;
2387
2690
  const st = pipState = computePipState();
2388
2691
  const valid = CORNERS.includes(st.corner);
2389
- pipEl.className = valid ? [st.corner, st.circle && "circle", cameraStream && "live", st.mirror && "mirror", st.full && "full", pipEl.classList.contains("msg") && "msg"].filter(Boolean).join(" ") : "";
2692
+ pipEl.className = valid ? [st.corner, st.circle && "circle", cameraStream && "live", st.mirror && "mirror", st.full && "full", st.behind && "behind", pipEl.classList.contains("msg") && "msg"].filter(Boolean).join(" ") : "";
2390
2693
  pipEl.style.width = st.size + "%";
2391
2694
  pipEl.hidden = !valid || cameraOff || st.off;
2392
2695
  stageWrap.dataset.pip = pipEl.hidden || st.full ? "none" : st.corner;
2696
+ stageWrap.classList.toggle("cam-behind", !pipEl.hidden && !!st.behind);
2393
2697
  if (pipEl.hidden || reduceMotion || !pipEl.animate) return;
2394
2698
  const ease = "cubic-bezier(.65,0,.35,1)";
2395
2699
  if (!first) {
@@ -3373,7 +3677,7 @@
3373
3677
  if (!n) return;
3374
3678
  applyFragments(n, currentStep().frag, snap);
3375
3679
  applyPipState();
3376
- if (pipEl.hidden || !pipState || !pipState.full) playEntrances(n);
3680
+ if (pipEl.hidden || !pipState || !pipState.full || pipState.behind) playEntrances(n);
3377
3681
  scheduleAutoslide(n);
3378
3682
  }
3379
3683
  var TRANSFORM_PROPS = ["x", "y", "xPercent", "yPercent", "scale", "scaleX", "scaleY", "rotation", "rotate", "skewX", "skewY"];
@@ -3952,7 +4256,7 @@
3952
4256
  function obsBlockedHere(host) {
3953
4257
  return location.protocol === "https:" && !isLoopback(host);
3954
4258
  }
3955
- var OBS_HTTPS_HELP = "This page is served over https, and browsers block it from reaching OBS on another computer (OBS only offers plain ws://). Run OBS on this computer and use localhost, or open Slidetake from a local copy: download dist/index.html from github.com/slidetake/slidetake and serve it with python3 -m http.server.";
4259
+ var OBS_HTTPS_HELP = "Run OBS on this computer and connect to localhost: a secure (https) page can't reach OBS at any other address.";
3956
4260
  async function connectObs() {
3957
4261
  const host = obsHost.value.trim() || "localhost";
3958
4262
  const url = "ws://" + host + ":" + (obsPort.value.trim() || "4455");
@@ -4025,6 +4329,10 @@
4025
4329
  var recQuality = document.getElementById("rec-quality");
4026
4330
  var recMeter = document.getElementById("rec-meter");
4027
4331
  var recCheck = document.getElementById("rec-browser-check");
4332
+ var recWave = (
4333
+ /** @type {HTMLCanvasElement} */
4334
+ document.getElementById("rec-wave")
4335
+ );
4028
4336
  var recMode = load("slidetake:rec-mode") || "";
4029
4337
  var recNote = "";
4030
4338
  var meter = null;
@@ -4048,6 +4356,39 @@
4048
4356
  });
4049
4357
  meter = null;
4050
4358
  recMeter.value = 0;
4359
+ recWave.getContext("2d").clearRect(0, 0, recWave.width, recWave.height);
4360
+ stopCamPreview();
4361
+ }
4362
+ var camPreview = document.getElementById("rec-cam-preview");
4363
+ var camNone = document.getElementById("rec-cam-none");
4364
+ var camPreviewStream = null;
4365
+ var camPreviewToken = 0;
4366
+ function stopCamPreview() {
4367
+ camPreviewToken++;
4368
+ if (camPreviewStream) {
4369
+ camPreviewStream.getTracks().forEach((t) => t.stop());
4370
+ camPreviewStream = null;
4371
+ }
4372
+ camPreview.srcObject = null;
4373
+ }
4374
+ async function startCamPreview() {
4375
+ stopCamPreview();
4376
+ const token = camPreviewToken, id = recCam.value;
4377
+ camNone.hidden = id !== "none" && !!id;
4378
+ camNone.textContent = "No camera";
4379
+ if (!id || id === "none") return;
4380
+ try {
4381
+ const stream = await navigator.mediaDevices.getUserMedia({ video: id === "default" ? true : { deviceId: { exact: id } } });
4382
+ if (token !== camPreviewToken) {
4383
+ stream.getTracks().forEach((t) => t.stop());
4384
+ return;
4385
+ }
4386
+ camPreviewStream = stream;
4387
+ camPreview.srcObject = stream;
4388
+ } catch (e) {
4389
+ camNone.hidden = false;
4390
+ camNone.textContent = "The camera isn\u2019t available";
4391
+ }
4051
4392
  }
4052
4393
  async function startMeter() {
4053
4394
  await stopMeter();
@@ -4064,12 +4405,24 @@
4064
4405
  ctx.createMediaStreamSource(stream).connect(an);
4065
4406
  const buf = new Float32Array(an.fftSize);
4066
4407
  const m = meter = { stream, ctx, raf: 0 };
4408
+ const g = recWave.getContext("2d"), W = recWave.width, H = recWave.height, ink = tokenHex("--accent");
4067
4409
  const loop = () => {
4068
4410
  if (meter !== m) return;
4069
4411
  an.getFloatTimeDomainData(buf);
4070
4412
  let peak = 0;
4071
4413
  for (const v of buf) peak = Math.max(peak, Math.abs(v));
4072
4414
  recMeter.value = Math.max(peak, recMeter.value * 0.85);
4415
+ g.clearRect(0, 0, W, H);
4416
+ g.lineWidth = 3;
4417
+ g.strokeStyle = ink;
4418
+ g.lineJoin = "round";
4419
+ g.beginPath();
4420
+ for (let i = 0; i < buf.length; i++) {
4421
+ const x = i / (buf.length - 1) * W, y = H / 2 - Math.max(-1, Math.min(1, buf[i] * 3)) * (H / 2 - 4);
4422
+ if (i) g.lineTo(x, y);
4423
+ else g.moveTo(x, y);
4424
+ }
4425
+ g.stroke();
4073
4426
  m.raf = requestAnimationFrame(loop);
4074
4427
  };
4075
4428
  loop();
@@ -4113,6 +4466,7 @@
4113
4466
  stopWebcam();
4114
4467
  startWebcam();
4115
4468
  }
4469
+ if (inSetup()) startCamPreview();
4116
4470
  setupSummary();
4117
4471
  };
4118
4472
  var deckUsesCamera = () => (deck.pip || "none").toLowerCase() !== "none" || !!deck.camera || [...nodes.values()].some((n) => n.camera);
@@ -4164,9 +4518,9 @@
4164
4518
  function setRecMode(mode) {
4165
4519
  recMode = mode;
4166
4520
  save("slidetake:rec-mode", mode);
4167
- if (reviewDialog.classList.contains("open")) openTakes({ setup: true });
4521
+ openTakes({ setup: inSetup() });
4168
4522
  }
4169
- var obsMode = () => reviewDialog.classList.contains("obs");
4523
+ var obsMode = () => !(browserRecording().ok && (recMode || "browser") === "browser");
4170
4524
  function openTakes(opts = {}) {
4171
4525
  if (!RECORDING_UI) return;
4172
4526
  if (browserRecording().ok && (recMode || "browser") === "browser") openBoard(opts);
@@ -4190,6 +4544,29 @@
4190
4544
  }, opts);
4191
4545
  }
4192
4546
  document.getElementById("btn-studio").onclick = () => openTakes();
4547
+ var recordedHere = () => !!recMode || loadBoard().takes.length > 0 || loadSessions().some((x) => x.key === sessionKey());
4548
+ async function recordNow() {
4549
+ if (!RECORDING_UI || rec.active || !order.length) return;
4550
+ if (!recordedHere()) {
4551
+ openSetup({ note: "Set up once: after this, \u25CF Record (R) starts recording straight away." });
4552
+ return;
4553
+ }
4554
+ if (browserRecording().ok && (recMode || "browser") === "browser") {
4555
+ const rows = boardRows(loadBoard(), boardDeck());
4556
+ const missing = rows.filter((r) => !r.pick).map((r) => r.id);
4557
+ const at = order.indexOf(currentId);
4558
+ const from = missing.length ? missing : at > 0 ? order.slice(at) : order;
4559
+ startTake("browser", from.length === order.length ? null : from);
4560
+ return;
4561
+ }
4562
+ if (!obsConnected && load("slidetake:obs")) await connectObs();
4563
+ if (obsConnected) {
4564
+ startTake("obs");
4565
+ return;
4566
+ }
4567
+ openSetup({ note: "Connect to OBS first: OBS \u2192 Connect." });
4568
+ }
4569
+ document.getElementById("btn-record").onclick = () => recordNow();
4193
4570
  async function takesDir(id, create) {
4194
4571
  const root = await navigator.storage.getDirectory();
4195
4572
  const all = await root.getDirectoryHandle("slidetake-takes", { create: true });
@@ -4320,6 +4697,10 @@
4320
4697
  if (rec.active || !order.length) return;
4321
4698
  const withObs = kind === "obs";
4322
4699
  stopMeter();
4700
+ if (!recMode) {
4701
+ recMode = withObs ? "obs" : "browser";
4702
+ save("slidetake:rec-mode", recMode);
4703
+ }
4323
4704
  if (kind === "browser") {
4324
4705
  if (!presenting) setPresent(true);
4325
4706
  try {
@@ -4351,8 +4732,6 @@
4351
4732
  if (kind !== "browser") rec.browser = null;
4352
4733
  document.body.classList.add("recording");
4353
4734
  hidePipMsg();
4354
- const lay = document.getElementById("rec-layout").value;
4355
- if (lay !== "current" && lay !== layoutMode) setMode(lay, true);
4356
4735
  if (!presenting) setPresent(true);
4357
4736
  cameraForRecording();
4358
4737
  if (beforeId) {
@@ -4701,7 +5080,7 @@
4701
5080
  save("slidetake:limiter", limiterOn() ? "off" : "on");
4702
5081
  showLimiter();
4703
5082
  };
4704
- var micSound = () => load("slidetake:mic-sound") === "voice" ? "voice" : "raw";
5083
+ var micSound = () => load("slidetake:mic-sound") === "raw" ? "raw" : "voice";
4705
5084
  var micConstraints = (id) => ({ ...id ? { deviceId: { ideal: id } } : {}, echoCancellation: false, autoGainControl: false, noiseSuppression: micSound() === "voice" });
4706
5085
  var soundBtns = document.querySelectorAll("[data-sound]");
4707
5086
  var showSound = () => soundBtns.forEach((b) => {
@@ -4749,7 +5128,6 @@
4749
5128
  const recBtn = document.getElementById("rv-rec");
4750
5129
  recBtn.title = "Records the deck with OBS: a new video in place of this one";
4751
5130
  recBtn.disabled = false;
4752
- document.getElementById("rv-use-browser").style.display = browserRecording().ok ? "" : "none";
4753
5131
  document.getElementById("rv-render-btn").disabled = document.getElementById("rv-clean").disabled = !!sess.cleaned;
4754
5132
  document.getElementById("rv-file").textContent = sess.outputPath ? " (" + baseName(sess.outputPath) + ")" : "";
4755
5133
  const fps = sessionFps(sess);
@@ -4765,9 +5143,11 @@
4765
5143
  resetPreview();
4766
5144
  renderReview();
4767
5145
  openModal(reviewDialog);
4768
- setupEl.open = !!opts.setup || !obsConnected || !!sess.empty;
4769
- if (setupEl.open) refreshSetup();
4770
- else fillDevices(false).then(setupSummary);
5146
+ if (opts.setup) showSetup(opts);
5147
+ else {
5148
+ showStudio();
5149
+ fillDevices(false).then(setupSummary);
5150
+ }
4771
5151
  say(opts.note || (sess.empty ? obsConnected ? "Press \u25CF Record: OBS records the deck." : "Connect to OBS in Setup, then press \u25CF Record." : about + (rvVideo.src ? "Click a take to preview it." : "Open the recording to preview it.")));
4772
5152
  if (!sess.empty) autoLoadRecording(sess);
4773
5153
  }
@@ -4910,7 +5290,7 @@
4910
5290
  };
4911
5291
  function showPreviewState() {
4912
5292
  const running = clipList && !clipList.single && !rvVideo.paused;
4913
- previewBtn.textContent = running ? "\u275A\u275A Pause" : "\u25B6 Preview";
5293
+ previewBtn.innerHTML = running ? '\u275A\u275A <span><u class="key">P</u>ause</span>' : '\u25B6 <span><u class="key">P</u>review</span>';
4914
5294
  document.querySelectorAll("#rv-list .rv-row.playing").forEach((r) => r.classList.remove("playing"));
4915
5295
  const part = clipList && clipList.parts[clipList.i];
4916
5296
  const row = part && part.id && document.querySelector('#rv-list .rv-row[data-id="' + CSS.escape(part.id) + '"]');
@@ -4987,7 +5367,8 @@
4987
5367
  /** @param {string} [t] */
4988
5368
  (t) => {
4989
5369
  clearTimeout(renderDone);
4990
- renderBtn.textContent = t || "\u2193 Download";
5370
+ if (t) renderBtn.textContent = t;
5371
+ else renderBtn.innerHTML = '\u2193 <span><u class="key">D</u>ownload</span>';
4991
5372
  }
4992
5373
  );
4993
5374
  var savedWhere = (d) => d.where ? "\u201C" + d.where + "\u201D as " + d.name : "your downloads as " + d.name;
@@ -5265,29 +5646,65 @@
5265
5646
  });
5266
5647
  return { rows, sess };
5267
5648
  }
5268
- var setupEl = document.getElementById("rv-setup");
5269
5649
  var setupBtn = document.getElementById("rv-setup-btn");
5270
- setupEl.addEventListener("toggle", () => {
5271
- setupBtn.setAttribute("aria-expanded", String(setupEl.open));
5272
- if (setupEl.open) refreshSetup();
5273
- else stopMeter();
5274
- });
5650
+ var setupNote = document.getElementById("setup-note");
5651
+ var inSetup = () => reviewDialog.classList.contains("setup-view");
5652
+ function showSetup(opts = {}) {
5653
+ reviewDialog.classList.add("setup-view");
5654
+ setupNote.textContent = opts.note || "";
5655
+ setupNote.hidden = !opts.note;
5656
+ setupBtn.textContent = "\u2190 Back";
5657
+ setupBtn.title = "Back to Studio";
5658
+ setupBtn.setAttribute("aria-expanded", "true");
5659
+ refreshSetup();
5660
+ }
5661
+ function showStudio() {
5662
+ const was = inSetup();
5663
+ if (was) reviewDialog.classList.remove("setup-view");
5664
+ setupBtn.textContent = "\u2699 Setup";
5665
+ setupBtn.title = "Settings: camera, microphone, video, OBS and files";
5666
+ setupBtn.setAttribute("aria-expanded", "false");
5667
+ if (was) {
5668
+ stopMeter();
5669
+ setupSummary();
5670
+ }
5671
+ }
5672
+ function openSetup(opts = {}) {
5673
+ if (reviewDialog.classList.contains("open")) showSetup(opts);
5674
+ else openTakes({ ...opts, setup: true });
5675
+ }
5676
+ new MutationObserver(() => {
5677
+ if (!reviewDialog.classList.contains("open")) showStudio();
5678
+ }).observe(reviewDialog, { attributes: true, attributeFilter: ["class"] });
5275
5679
  setupBtn.onclick = () => {
5276
- setupEl.open = !setupEl.open;
5680
+ if (inSetup()) showStudio();
5681
+ else showSetup();
5682
+ };
5683
+ document.getElementById("setup-record").onclick = () => {
5684
+ closeModals();
5685
+ if (!recMode) {
5686
+ recMode = obsMode() ? "obs" : "browser";
5687
+ save("slidetake:rec-mode", recMode);
5688
+ }
5689
+ recordNow();
5277
5690
  };
5278
5691
  reviewDialog.addEventListener("click", (e) => {
5279
5692
  if (e.target === reviewDialog || e.target.closest("[data-close]")) stopMeter();
5280
5693
  });
5281
5694
  function refreshSetup() {
5695
+ const ready = () => {
5696
+ setupSummary();
5697
+ if (inSetup()) startCamPreview();
5698
+ };
5282
5699
  if (obsMode()) {
5283
5700
  showScreenAdvice();
5284
- fillDevices(false).then(setupSummary);
5701
+ fillDevices(false).then(ready);
5285
5702
  return;
5286
5703
  }
5287
5704
  recCheck.innerHTML = "";
5288
5705
  showBrowserCheck().then((b) => {
5289
- if (b.ok) fillDevices().then(setupSummary);
5290
- else setupSummary();
5706
+ if (b.ok) fillDevices().then(ready);
5707
+ else ready();
5291
5708
  });
5292
5709
  }
5293
5710
  var browserName = (() => {
@@ -5308,10 +5725,16 @@
5308
5725
  }
5309
5726
  );
5310
5727
  const cam2 = name(recCam) || (camChoice() === "none" ? "No camera" : "Camera");
5311
- const parts = obsMode() ? ["Pro", "OBS", obsSize, cam2].filter(Boolean) : browserRecording().ok ? ["Easy", browserName, recQuality.value, cam2, name(recMic) || "Microphone"].filter(Boolean) : ["Easy", browserName + " can\u2019t record here"];
5728
+ const pro = obsMode(), size = pro ? obsSize : browserRecording().ok ? recQuality.value : "";
5729
+ const parts = pro ? [cam2] : [cam2, name(recMic) || "Microphone"];
5312
5730
  const el = document.getElementById("rv-using");
5313
5731
  el.textContent = parts.join(" \xB7 ");
5314
- el.title = setupBtn.title = "Recording with " + parts.join(" \xB7 ");
5732
+ el.title = "Recording with " + parts.join(" \xB7 ");
5733
+ document.getElementById("rv-size").textContent = size || "";
5734
+ proBtn.classList.toggle("on", pro);
5735
+ proBtn.setAttribute("aria-pressed", String(pro));
5736
+ proBtn.disabled = !browserRecording().ok;
5737
+ proBtn.title = proBtn.disabled ? browserName + " records only with OBS: pro mode" : pro ? "Pro mode: recording with OBS. Click for easy mode, in " + browserName : "Easy mode: recording in " + browserName + ". Click for pro mode, with OBS";
5315
5738
  }
5316
5739
  function openBoard(opts = {}) {
5317
5740
  if (!RECORDING_UI) return;
@@ -5332,10 +5755,11 @@
5332
5755
  lastTicked = -1;
5333
5756
  renderBoard();
5334
5757
  openModal(reviewDialog);
5335
- const ready = browserRecording().ok;
5336
- setupEl.open = !!opts.setup || !ready || !board.takes.length;
5337
- if (setupEl.open) refreshSetup();
5338
- else showBrowserCheck().then(() => fillDevices(false)).then(setupSummary);
5758
+ if (opts.setup || !browserRecording().ok) showSetup(opts);
5759
+ else {
5760
+ showStudio();
5761
+ showBrowserCheck().then(() => fillDevices(false)).then(setupSummary);
5762
+ }
5339
5763
  say(opts.note || selNote() || (board.takes.length ? boardState() + ". Click a take to preview it." : order.length + " slides, nothing recorded yet. Press \u25CF Record."));
5340
5764
  }
5341
5765
  function boardState() {
@@ -5390,11 +5814,12 @@
5390
5814
  startTake("obs");
5391
5815
  return;
5392
5816
  }
5393
- setupEl.open = true;
5394
- say("Connect to OBS first: Setup \u2192 OBS \u2192 Connect.", { warn: true });
5817
+ openSetup({ note: "Connect to OBS first: OBS \u2192 Connect." });
5818
+ };
5819
+ var proBtn = document.getElementById("rv-pro");
5820
+ proBtn.onclick = () => {
5821
+ if (browserRecording().ok) setRecMode(obsMode() ? "browser" : "obs");
5395
5822
  };
5396
- document.getElementById("rv-use-obs").onclick = () => setRecMode("obs");
5397
- document.getElementById("rv-use-browser").onclick = () => setRecMode("browser");
5398
5823
  async function deleteClips(takes) {
5399
5824
  for (const t of takes) {
5400
5825
  try {
@@ -5726,7 +6151,7 @@
5726
6151
  btn.setAttribute("aria-pressed", String(on));
5727
6152
  }
5728
6153
  function updateCamBtn() {
5729
- if (!camBtn.querySelector("svg")) camBtn.innerHTML = CAMERA_ICON + '<span class="lbl"> Camera</span>';
6154
+ if (!camBtn.querySelector("svg")) camBtn.innerHTML = CAMERA_ICON + '<span class="lbl"> <u class="key">C</u>amera</span>';
5730
6155
  camBtn.classList.toggle("on", !cameraOff);
5731
6156
  camBtn.setAttribute("aria-pressed", String(!cameraOff));
5732
6157
  camBtn.title = cameraOff ? "Camera is off for every slide (C)" : "Camera is on and follows the deck (C)";
@@ -5786,13 +6211,26 @@
5786
6211
  return;
5787
6212
  }
5788
6213
  if (document.querySelector(".modal.open")) {
6214
+ const setupOpen = reviewDialog.classList.contains("open") && inSetup();
5789
6215
  if (e.key === "Escape") closeModals();
6216
+ else if (reviewDialog.classList.contains("open") && !e.metaKey && !e.ctrlKey && !e.altKey && !/^(INPUT|TEXTAREA|SELECT)$/.test(document.activeElement?.tagName || "")) {
6217
+ const k2 = e.key.toLowerCase();
6218
+ const id = k2 === "r" ? setupOpen ? "setup-record" : "rv-rec" : setupOpen ? "" : k2 === "p" ? "rv-play-final" : k2 === "d" ? obsMode() ? "rv-ffmpeg-copy" : "rv-render-btn" : "";
6219
+ const btn = id ? (
6220
+ /** @type {HTMLButtonElement} */
6221
+ document.getElementById(id)
6222
+ ) : null;
6223
+ if (btn && !btn.disabled) {
6224
+ e.preventDefault();
6225
+ btn.click();
6226
+ }
6227
+ }
5790
6228
  return;
5791
6229
  }
5792
6230
  const tag = document.activeElement && document.activeElement.tagName;
5793
6231
  if (tag === "TEXTAREA" || tag === "INPUT" || e.metaKey || e.ctrlKey || e.altKey) return;
5794
6232
  if (help.classList.contains("open")) {
5795
- if (/^(Escape|k|K|\?)$/.test(e.key)) help.classList.remove("open");
6233
+ if (/^(Escape|k|K|\?|\/)$/.test(e.key)) help.classList.remove("open");
5796
6234
  return;
5797
6235
  }
5798
6236
  const k = e.key;
@@ -5819,6 +6257,8 @@
5819
6257
  } else if (k === "f" || k === "F" || k === "p" || k === "P") {
5820
6258
  setPresent(!presenting);
5821
6259
  } else if (k === "r" || k === "R") {
6260
+ recordNow();
6261
+ } else if (k === "s" || k === "S") {
5822
6262
  openTakes();
5823
6263
  } else if (/^[1-4]$/.test(k)) {
5824
6264
  setMode(LAYOUTS[+k - 1]);
@@ -5832,7 +6272,7 @@
5832
6272
  sizeStep(1);
5833
6273
  } else if (k === "-" || k === "_") {
5834
6274
  sizeStep(-1);
5835
- } else if (k === "?" || k === "k" || k === "K") {
6275
+ } else if (k === "?" || k === "/" || k === "k" || k === "K") {
5836
6276
  help.classList.add("open");
5837
6277
  } else if (k === "Escape") {
5838
6278
  if (!backFromOverview() && presenting) setPresent(false);