spelling error found by @theapplegates

This commit is contained in:
madrilene 2025-01-11 17:43:20 +01:00
parent 8c9f27d7ab
commit c8427ecfe7

View file

@ -39,7 +39,7 @@ More info: https://www.11ty.dev/docs/plugins/image/#html-transform
## Markdown syntax
This also uses [Image HTML Transform ](https://www.11ty.dev/docs/plugins/image/#html-transform).
The markdown sytnax for images creates the `<img>` element the plugin is looking for, and then transforms it to the `<picture>` elemenr (if more than one format is set).
The markdown sytnax for images creates the `<img>` element the plugin is looking for, and then transforms it to the `<picture>` element (if more than one format is set).
In `src/_config/plugins/markdown.js` I customized the Markdown rendering for images slightly. What normally would become a `title` attribute is used to create a caption. Note that I set a fixed `widths` value instead of `auto` as the default.