Mastodon Feed: Post

Mastodon Feed

Boosted by slightlyoff@toot.cafe ("Alex Russell"):
chriskirknielsen@front-end.social ("Christopher Kirk-Nielsen") wrote:

I cleaned up how I parse and insert filenames in my code blocks, using a custom markdown-it "plugin" in @11ty. I know that's a mouthful — I promise it'll make sense: https://chriskirknielsen.com/blog/custom-filename-in-code-blocks-in-eleventy-in-markdown-it/

A sample code block labelled "chris-bot dot JS" with some silly code instruction reading "Please clap."