Pretty Code
I am of the opinion that AI coding tools enable us to build personalised tools for ourselves.
In my Python newsletter, I use quite a lot of code examples, and Substack famously does not include syntax highlighting natively. So code looks pretty uninspiring for those of us who live in the IDE.
Initially I used Carbon.sh, which did the job, but I wanted more features:
- Generate gradients and other patterns for backgrounds
- Use uploaded images as backgrounds
- Customizable syntax highlighting, supporting more languages
- Render code diffs
- Customizable fonts
I built this using v0 for the initial design (heavily inspired by carbon.sh). Then Cursor to polish if off.
Take it for a spin!