-
I searched around a bit, but couldn't seem to find any info around this. I'm curious if it would be within the scope of 11ty to implement support for including |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I don't think 11ty does anything special w/ images. You'll probably want to look at a markdown-it plugin for that. Maybe something like https://www.npmjs.com/package/markdown-it-image-lazy-loading and then set your custom markdown-it library using https://www.11ty.dev/docs/languages/markdown/ |
Beta Was this translation helpful? Give feedback.
-
If you want to keep Markdown's syntax for images, you can also try my own responsive images plugin: https://nhoizey.github.io/images-responsiver/eleventy-plugin-images-responsiver/ It allows you to add attributes to images, like |
Beta Was this translation helpful? Give feedback.
I don't think 11ty does anything special w/ images. You'll probably want to look at a markdown-it plugin for that. Maybe something like https://www.npmjs.com/package/markdown-it-image-lazy-loading and then set your custom markdown-it library using https://www.11ty.dev/docs/languages/markdown/