1e2ce2caf7
- pitch/deck/index.html — колода reveal.js (fullscreen F, листание, speaker view S) - pitch/deck/fetch-reveal.sh — вендоринг reveal локально (offline-proof) - развёрнуто: https://med.secondbrain.tools/demo Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
627 B
Bash
12 lines
627 B
Bash
#!/usr/bin/env bash
|
|
# Вендорит reveal.js локально (чтобы презентация не зависела от CDN на сцене).
|
|
set -euo pipefail
|
|
V=5.1.0
|
|
B="https://cdn.jsdelivr.net/npm/reveal.js@${V}"
|
|
mkdir -p reveal/dist/theme reveal/plugin/notes reveal/plugin/highlight
|
|
curl -fsSL "$B/dist/reveal.css" -o reveal/dist/reveal.css
|
|
curl -fsSL "$B/dist/reveal.js" -o reveal/dist/reveal.js
|
|
curl -fsSL "$B/dist/theme/white.css" -o reveal/dist/theme/white.css
|
|
curl -fsSL "$B/plugin/notes/notes.js" -o reveal/plugin/notes/notes.js
|
|
echo "reveal.js ${V} vendored into ./reveal/"
|