Skip to content

sheeeng/slides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slides

Getting Started

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 --recursive
rsync --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/

Local Development

Prerequisites

  • Git
  • Node.js LTS
  • Python 3 (for the landing page dev server)

Landing page

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 key

If your .envrc contains secrets, add it to .gitignore.

./dev.sh
# Serving at http://localhost:8080

Override the port if needed:

PORT=3000 ./dev.sh

Or pass the key inline without any env file:

GOOGLE_MAPS_API_KEY=your_key ./dev.sh

Individual slides

Each 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 reload

Replace demystifying-the-nix-store with any of the other slide directories:

  • governing-azure-resources-with-policy
  • running-kernel-based-virtual-machine
  • tracking-nixpkgs-merged-pull-requests

Attribution

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.

Releases

Packages

Used by

Contributors

Languages