Easily add caniuse embeds to 11ty!
As I used to blog a lot about frontend stuff the ability to embed tables from CanIUse.com was a hard requirement when I switched from Hugo to 11ty. Since there was no plugin I created my own!
It’s using the amazing CanIUse Embed web service by Ire Aderinokun which is available at https://caniuse.bitsofco.de; the service provides a JavaScript embed script and a HTML snipped to build embeds. I wrapped this all in a nice shortcode so it can be used in 11ty like so
{% caniuse "css-grid" "future_1,current" %}