One of the reasons I made my own theme was to dim TS types: github.com/christianhg/...
One of the reasons I made my own theme was to dim TS types: github.com/christianhg/...
As expected, it was *incredibly* difficult to delete my Facebook account.
However, after some UI debugging and browser switching, I finally succeeded, and it looks like 2026 is off to a flying start.
you’re right! it feels mostly awful to Go Online™, these days. the internet in a sad state, for reason after reason after reason. but there is a way to fix it; to trade the voidful howling for a quiet & joyful song.
here’s how to win the war for the soul of the internet, and build the Web We Want.
You vibe-coded a site. Content lives in markdown. It works.
Then your client asks for a login.
The Sanity MCP Server lets your agent set up and manage a real content backend in the same conversation you used to build everything else.
www.sanity.io/blog/sanity-...
Replaced the boring buttons with some type controls!
(🤫 This is actually a really good showcase for input rules: github.com/portabletext...)
Couldn't sleep so I built Game of Life in @sanity.io's Portable Text Editor
👉 portable-text-of-life.vercel.app
🧑💻 github.com/portabletext...
GitHub contribution chart with three consecutive blank weeks
Now that's what I call vacation
OK this quiz is just *flips table*
The cake was not a lie!
The age of Headless CMS is over. Say hello to the Sanity App SDK, Functions, AI Agents, and more—all part of The Content Operating System.
www.sanity.io/spring-relea...
error TS6133: 'someVariable' is declared but its value is never read.
That's terrible. Better fail the whole build immediately.
Hey, it worked! This is going to become expensive...
The sun, visible through dark clouds, partially eclipsed by the moon
Partial solar eclipse, March 29, as seen from Denmark (through the right glasses)
I Love Features!
Can I slide the thingy to commit code or how does it work?
Blue floppy disk containing Wolfenstein 3D Episode One: Escape from Wolfenstein
Found my Wolfenstein 3D floppy
Maybe there's something I'm not seeing here, but since the type resolves to "string" I'd just use that instead. At least "string" won't provide a false sense of type safety.
I wouldn't, unless it was last resort, use the type "string" either if any of the values had special meaning. Which my whole point.
Maybe a 🌶️ take, but I generally don't like this trick. If one of your default/known values changes - e.g., "alert" is renamed to "warning" - your call sites won't break, and subtle, hard-to-discover bugs can be introduced. Any string is allowed, remember?
It's so good.
And... psst... guess what's driving the behaviours in and around the code block: www.portabletext.org/concepts/beh...
What's the end goal?
Ah, stupid me. Of course there are third-party solutions 😇 Let's see if scrobbling is still fun or if it's time to leave one of my oldest internet accounts.
Looks like last.fm still doesn't offer a way to export your data. So... I guess I might as well revive my 20-year-old account for the second(?) time!
Do you have one?
www.last.fm/user/christi...
(I want to listen to more music again, and maybe this can be a weird sort of motivation.)
But does it have :potato-intensifies:
It's a common term 🤔 en.m.wikipedia.org/wiki/Blue%E2...
MacBook A1181 with various stickers, including "I Hate Computers", on a couch
My MacBook from 2007. Still boots. And I still hate computers.
Here's a link to the Behavior that turns `---`/`___`/`***` to a horizontal rule object: github.com/portabletext...)
Any feedback welcome!
PTE still needs to know what object you want to use for the <hr />: github.com/portabletext...
But at least you don't have to reach for any UI tool to insert it. Maybe this would help?
We are hoping to bring the Behavior API, in some form or another, to Studio very soon.
Hi there!
We are working on a new API (currently beta) for PTE that allows you to easier customise the editor behaviours: www.portabletext.org/concepts/beh...
Behavious can be bundled in plugins and the most fully-fledged plugin we've made so far is a Markdown plugin:
playground.portabletext.org