Using GitHub Codespaces for Quarto Development

It turns out, when I am working on say a reveal.js slide deck and I need a lot of instant feedback, quarto preview renders pretty slowly on my machine. To speed up the process, and also allow me to tweak slides and blog articles from any machine, I started using GitHub Codespaces. To set it up correctly, I settled on this devcontainer.json for now: devcontainer.json { "name": "R + Quarto Codespace", "image": "ghcr....

January 17, 2024 · Lennart Klein

GitHub Commit Difference Badge

TL;DR Create a Shields.io badge for your GitHub README.md to track the number of commits since a specific commit In my case, I set the base/reference point to the last commit to the repo of my blog’s theme which I added as a git submodule1 to the themes/ folder of my blog2 Using R Markdown, I have my badge automatically update to the current status of my submodule and rendered out to my README....

January 11, 2024 · Lennart Klein