Last Updated

Tagged “JavaScript”

()

In Eleventy, I use Nunjucks shortcodes to interface with the image plugin. But, I don't want to use the shortcodes within Obsidian - I want images visible there as well. So, I wrote some basic code that runs in the pre-build stage to convert Obsidian images in their usual format to a Nunjucks shortcode that looks like: