@astrojs/mdx@6.0.3

withastro/astro@astrojs/mdx@6.0.3Jun 9, 2026by astrobot-houston

AI Summary

This patch release adds support for Prism syntax highlighting to the Sätteri Markdown and MDX processors.

Key Highlights

  • Adds Prism syntax highlighting support to the Sätteri Markdown and MDX processors.

New Features

  • Prism syntax highlighting support for Sätteri processor

Full Release Notes

### Patch Changes

-   [#16969](https://github.com/withastro/astro/pull/16969) [`4a31f90`](https://github.com/withastro/astro/commit/4a31f90c765bcd1c4af8b85160b74a0da338cfe7) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds support for Prism syntax highlighting to the Sätteri Markdown and MDX processors. Setting `markdown.syntaxHighlight` to `'prism'` now highlights your code blocks with Prism.

    ```js
    // astro.config.mjs
    import { satteri } from '@astrojs/markdown-satteri';

    export default defineConfig({
      markdown: {
        processor: satteri(),
        syntaxHighlight: 'prism',
      },
    });
    ```