github withastro/astro @astrojs/mdx@4.1.0

latest releases: astro@5.4.1, @astrojs/upgrade@0.5.0, astro@5.4.0...
one day ago

Minor Changes

  • #13254 1e11f5e Thanks @p0lyw0lf! - Adds the ability to process and optimize remote images in Markdown syntax in MDX files.

    Previously, Astro only allowed local images to be optimized when included using ![]() syntax. Astro's image service could only display remote images without any processing.

    Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.

    No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the JSX <img/> tag instead. Note that images located in your public/ folder are still never processed.

Patch Changes

  • Updated dependencies [1e11f5e]:
    • @astrojs/markdown-remark@6.2.0

Don't miss a new astro release

NewReleases is sending notifications on new releases.