Blog

Better Syntax Highlighting

I’ve been using Prism to highlight syntax on my blog. I achieved this with a custom plugin for Marked. This was kinda janky for my server-side build process. Prism is old. Prism v2 doesn’t seem to be happening. You’ve served me well, Prism, but it’s time to go. I tried Highlight.js writing documentation for ssr.rocks. It’s […]

CSS Button Styles You Might Not Know

Buttons are everywhere! We can use all sorts of fancy CSS to style a button. I prefer using Flexbox layout for example. In this blog post I share a few lesser-known CSS styles. Let’s use this example code: Touch Actions Have you ever repeatedly tapped on a button only for the page to zoom in unexpectedly? Rewind and fast-forward […]

JSR: Second Look

I blogged my JSR: First Impressions a couple of weeks ago. Since then JSR has officially launched in open beta. My article proved timely and received a lot of attention. JSR has already made changes so I figured a second look was required. Open Source The JSR GitHub repository has also gone public. The primary components are […]

A Fun Line of Code

Code can be fun and creative. Sometimes I have to rein myself in otherwise I’m prone to writing creative code for creativity’s sake. That is not always the most readable. Occasionally though the fun solution is the best. I was updating my Deno Audio Duration package to publish it on JSR and I was reminded of […]

JSR: First Impressions

Until now Deno did not have or need a package registry. That may be changing with JSR — one JavaScript Registry to rule them all… In the early days of Deno you would import dependencies from a URL: This freaked developers out. But it’s actually no less secure than installing from npm. It’s just more direct and […]

Super Fast Builds ⚡

I want to see more developers experiment with how they build their websites! Don’t just npm install a blackhole. Roll your own personal solution. It’s fun and rewarding! Where it Started My website is a collection of Svelte components and Markdown files that combine to build over 400 pages. Over the years I’ve gone through a wide […]

RSS Feed Styles

Now that I’m in my 15th year of blogging it’s past time I spruced up my RSS feed. I’ve also launched a new bookmark blog. Perfect time to revisit RSS. For the last 15 years my RSS feed was an unreadable mess when viewed in a browser: Obviously it’s meant to be viewed in an RSS reader […]

Buy me a coffee! Support me on Ko-fi