Fully Local Code Embeds | Aleksandr Hovhannisyan

"A few years ago, I was looking for a way to add interactive code sandboxes to my Markdown files without embedding third-party iframes, like the ones from Codepen or Codesandbox. Those services are great and I use them all the time to share demos, but I’ve never been a fan of using them on a blog since you have to jump back and forth between your local Markdown file and an external site to make changes to the demos. Plus, they typically load lots of JavaScript."

https://www.aleksandrhovhannisyan.com/blog/local-code-embeds/

#metablogging #webcomponents #webdev
Fully Local Code Embeds | Aleksandr Hovhannisyan

A simple web component for rendering isolated code embeds using HTML, CSS, and JavaScript.