Sam Littlefair
banner
littlefair.ca
Sam Littlefair
@littlefair.ca
building @vowel.cc · documenting #storyblok · shooting #35mm · living #yhz

*posts reflect my views, not my employer’s
This is awesome! 🔥

FYI, some headings in my doc are inline code:

## `abc`

They are showing up empty.
December 2, 2025 at 1:53 PM
oooooooommmmmmmmmggggggggggggg
December 1, 2025 at 4:27 PM
This was the bed that my mom laid in for seven months.

Thanks for sharing ❤️
November 27, 2025 at 2:51 PM
I’m working with hast from Unified (and also mdast). I’ll let you know if I make any progress on a hast-util-svedit type plugin.
November 25, 2025 at 6:38 PM
On-the-fly support. It reads content from the file system to build a webpage. I’m using Unified.js for templating, so I have an AST that I can transform if necessary. (I’m happy to write the unified-svedit logic if need be.) But I thought Svedit might already have a way to ingest HTML?
November 25, 2025 at 4:08 PM
🔥🔥🔥

I’m incorporating this into @vowel.cc, and it is really fantastic 👏

Whats the best way to convert HTML to a `doc` to pass to ``?
November 25, 2025 at 2:53 PM
Not gonna screenshot, because no one needs that, but I opened the twix feed to see some rando screaming about a common code style that he hates. How do people use that app?
November 19, 2025 at 12:49 PM
An important part of learning web development is going through the gauntlet of “X isn’t a real programming language” until you realize it’s a true-scotsman goose chase
November 13, 2025 at 6:24 PM
I had no idea what this meant when I saw this movie but for some reason it stuck with me.
November 5, 2025 at 5:49 PM
This is so cool!

I was thinking that this would be a good way to count words, but then I realized you could do the same with split(/\b/). I'm not sure if it would work as well, but .split(/\b/) runs in about 1/4 of the time by my test: jsbenchmark.com
JS Benchmark
A straightforward online JavaScript benchmarking tool and REPL with support for ES modules and libraries.
jsbenchmark.com
November 4, 2025 at 6:04 PM
I'm pretty amazed by the Unified ecosystem tbh. There are utilities to solve a lot of challenge that I've been thinking about.
November 3, 2025 at 6:42 PM