unlockopen / www.unlockopen.com-v4

V4 of the UnlockOpen website
0 stars 1 forks source link

Properly handle images in markdown #21

Closed tobie closed 6 months ago

tobie commented 6 months ago

Currently images in markdown (not using a shortcode) are breaking the build.

Is this something we can fix?

madrilene commented 6 months ago

markdown config used a plugin so Eleventy Image could handle markdown images. Problem: The plugin has no option for captions, but adds an unnecessary title attr. I exchanged that module for markdown-it-image-figures.

https://github.com/unlockopen/www.unlockopen.com-v4/pull/22

madrilene commented 6 months ago

Fixed in https://github.com/unlockopen/www.unlockopen.com-v4/pull/25