Aleksandr Hovhannisyan
Aleksandr Hovhannisyan
@bronze Looks like my post may have a typo. I believe it should be this for the image width and height attributes: ```js width="${formatSizes[baseFormat].largest.width}" height="${formatSizes[baseFormat].largest.height}" ```
@KingScroll Glad you figured it out! Unfortunately, I don't believe you can use async shortcodes in Nunjucks macros. See the issue here: https://github.com/11ty/eleventy/issues/1613. I believe you'll need to use the...
@werls This is the right place to ask, no worries. Sounds like your shortcode maybe isn't returning anything. Either that or some sort of async issue.
@muratcorlu I wish! I tried to get that to work at some point but hit some roadblocks along the way. There's an open issue here where I've provided more context...
@solution-loisir Ooh, that's a clever idea! Let me know what you figure out.
@solution-loisir Very cool! I wish markdown-it supported async renderers 😞 (And had better docs for how to write plugins.) I bet you could take this idea further and have the...
@solution-loisir Nice work! I'll take this for a spin when I have some downtime 🙂 My main reasoning for not using the 11ty image plugin directly is that it would...
@jitendravyas Unfortunately, I'm not sure; I don't have experience with Wordpress. If you figure it out or find a plugin for it, let me know and I'll update the post...
@boumboum Nice catch! The rendered version uses `20` (correct), but the code snippet uses `22` (incorrect). I've updated the code snippet to use the correct offset. Thanks for reading!
Really glad to hear that, thank you!