The Art of Gathering

Last updated: Wed Oct 23 2024

A pylon in Bayfront Park Mission Bay’s new Bayfront Park is now open!


Apropos of nothing, here are event or icebreaker ideas I want to pursue:


New essay week! I finally finished “Russell’s Brief, Opinionated Guide to Home Cooking” collating everything I’ve learned about cooking in the past ~2 years. I also wrote a brief technical post on “Building rwblickhan.org in 2024”, which updates my two-and-a-half-year-old article about how my site is built.


In other website news, I made my quotes page much prettier.

The inspiration was Heydon Pickering’s article on <blockquote>. I’ve always used blockquotes heavily, but I never found a good way to represent the citations. Heydon recommends wrapping <blockquote>s in a <figure> with a <figcaption> for the citation, which works nicely and allows for clean styling.

But that’s not trivial when writing in Markdown. I didn’t want to manually add <figure>s all over my quotes.md. So instead I built a parser plugin!

Or, more precisely, I got Claude to write most of a Rehype plugin, which is what Astro uses to render Markdown to HTML. The actual code is pretty simple — it just walks the HTML tree provided by Rehype and wraps <blockquote>s in <figure>s, moving the last <p> in the <blockquote> into a <figcaption>. I then published to npm so that I could install it to my site. Tada! My blockquotes are now all automagically wrapped in <figure> tags.

Rooibos rolled up in a ball Why does Rooibos sit funny sometimes?