-
Well, I planned on writing a blog post. But then I implemented responsive images instead. That’s the problem when your personal website is also your playground, I guess 😅 github.com/mvsde/website/blob/main/eleventy/shortcode-image.js
-
It’s the next day and I didn’t write a blog post, again. This time I lost myself in markdown-it tokenization and moved shortcodes to markdown processing. Was it necessary? Nah. But I wan’t to keep the template language out of my content. github.com/mvsde/website/commit/185c3e65b711466cfbca3ae2ae1a7857fc2ae5e4
-
I should probably revisit this at some point and create a custom markdown-it plugin to make the transforms easier. But for now bending the markdown-it-container plugin works well enough 😬