Plugin supporting eleventy-img plugin

Hi to you all!

I publish the content of my Obsidian vault using Eleventy, and I use the eleventy-img plugin to embed images.

Unfortunately, using the plugin’s shortcode ({% img %}) means not seeing the images in Obsidian…

Could any of you help me create a plugin that automatically substitutes the shortcode with the HTML <img> tag so that images are displayed in Obsidian?

Thanks a lot!

1 Like

I know this is old, and maybe the opposite of what you are looking for, but I wrote some eleventy code that can take an obsidian image link and convert it to an eleventy shortcode in the pre-build stage.

1 Like