2 Comments

Great code examples. I wish Substack had a proper highlighting. For our newsletter I can't decide: use something like carbon.sh (nice looking, but no copy) or just a code block.

But you have a lot of good code that people may want to try it out, so IMO code block would be better.

Expand full comment

Yeah, it's a tough choice. I hate how Substack renders code blocks.

But yeah, that's the reason why I've started adding GitHub repos to my blogs now, so people who want to reference the code can do so.

Expand full comment