github-pages
Publishing a TIL collection as a static GitHub Pages site - 2026-09-05
I forked simonw/til to start my own "Today I Learned" collection, but its publishing pipeline was built around Simon's own infrastructure: build_database.py compiled every entry into a sqlite database, generate_screenshots.py rendered preview images via Playwright, and the…
Adding an Atom feed and syntax highlighting to a static site build script - 2026-09-05
Continuing on from publishing this TIL collection as a static site, I wanted two things a real TIL site should have: an Atom feed people can subscribe to, and syntax-highlighted code blocks instead of flat gray <pre> boxes.
Rendering Mermaid diagrams in a Python-Markdown static site - 2026-09-12
Wanted to drop a Mermaid diagram into a TIL and found out build_site.py had no idea what to do with one. simonw/til (the site this repo's pattern is adapted from) doesn't support it either — it's Datasette-backed, and there's no Mermaid anywhere in its templates or…