Use a template from either git submodule or direct clone method.
# git submodule add git@github.com:yhatt/marp-cli-example.git
git submodule update --init --recursiversync --archive \
--exclude='.git' \
--exclude='.github' \
--exclude='assets/netlify-deploy-button.svg' \
--exclude='LICENSE' \
--exclude='netlify.toml' \
--exclude='README.md' \
marp-cli-example/ new-slides/# git clone git@github.com:yhatt/marp-cli-example.git
# rm --recursive --force marp-cli-example/.git/- Git
- Node.js LTS
- Python 3 (for the landing page dev server)
The landing page (index.html) embeds a Google Maps map loaded from talks.toml. A dev server injects your API key at startup.
Set the key in whichever env file you prefer — dev.sh checks .envrc first, then .env:
# direnv (.envrc)
echo 'export GOOGLE_MAPS_API_KEY=your_key' >> .envrc
# or plain .env
cp .env.example .env
# Edit .env and set your Google Maps API keyIf your
.envrccontains secrets, add it to.gitignore.
./dev.sh
# Serving at http://localhost:8080Override the port if needed:
PORT=3000 ./dev.shOr pass the key inline without any env file:
GOOGLE_MAPS_API_KEY=your_key ./dev.shEach slide project has its own dev server powered by Marp CLI.
cd slides/demystifying-the-nix-store
npm install
npm start
# Opens a preview in the browser with live reloadReplace demystifying-the-nix-store with any of the other slide directories:
governing-azure-resources-with-policyrunning-kernel-based-virtual-machinetracking-nixpkgs-merged-pull-requests
Noto Color Emoji by Google is licensed under the Creative Commons Attribution 4.0 International License.
See the Noto Emoji Animation documentation for technical details on animated emoji.