kudos to aleksandr
This commit is contained in:
parent
612a30434d
commit
64885006cd
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ In `src/_config/plugins/markdown.js` I customized the Markdown rendering for ima
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You can also add custom attributes here, to overwrite the default `widths`, have the image eagerly loaded, or add a class etc.
|
You can also add custom attributes here ([Kudos to Aleksandr](https://www.aleksandrhovhannisyan.com/blog/eleventy-image-transform/)), to overwrite the default `widths`, have the image eagerly loaded, or add a class etc.
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
{attrs}
|
{attrs}
|
||||||
|
|
@ -137,6 +137,6 @@ More:
|
||||||
- https://www.aleksandrhovhannisyan.com/blog/eleventy-image-transform/
|
- https://www.aleksandrhovhannisyan.com/blog/eleventy-image-transform/
|
||||||
- https://coryd.dev/posts/2024/setting-up-image-transforms-in-eleventy
|
- https://coryd.dev/posts/2024/setting-up-image-transforms-in-eleventy
|
||||||
|
|
||||||
{%- css "inline" -%}
|
{%- css "local" -%}
|
||||||
{%- include 'css/table.css' -%}
|
{%- include 'css/table.css' -%}
|
||||||
{%- endcss -%}
|
{%- endcss -%}
|
||||||
Loading…
Reference in a new issue