14 lines
566 B
Markdown
14 lines
566 B
Markdown
|
---
|
||
|
'@astrojs/markdoc': patch
|
||
|
'astro': patch
|
||
|
---
|
||
|
|
||
|
Support automatic image optimization for Markdoc images when using `experimental.assets`. You can [follow our Assets guide](https://docs.astro.build/en/guides/assets/#enabling-assets-in-your-project) to enable this feature in your project. Then, start using relative or aliased image sources in your Markdoc files for automatic optimization:
|
||
|
|
||
|
```md
|
||
|
<!--Relative paths-->
|
||
|

|
||
|
<!--Or configured aliases-->
|
||
|

|
||
|
```
|