Files
medtech-hackathon/pitch/deck/fetch-reveal.sh
T

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/"