Astro: @astrojs/markdown-remark@7.2.0 Release

Release date:
May 28, 2026
Previous version:
@astrojs/markdown-remark@7.1.2 (released May 13, 2026)
Magnitude:
8,150 Diff Delta
Contributors:
10 total committers
Data confidence:
Commits:

85 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored May 18, 2026
Authored May 18, 2026
Authored May 20, 2026
Authored May 21, 2026
Authored May 18, 2026
Authored May 20, 2026
Authored May 14, 2026
Authored May 18, 2026
Authored May 27, 2026
Authored May 27, 2026

Top Contributors in @astrojs/markdown-remark@7.2.0

ematipico
matthewp
Princesseuh
astrobot-houston
ocavue
fkatsuhiro
yanthomasdev
ljharb
rururux
ArmandPhilippot

Directory Browser for @astrojs/markdown-remark@7.2.0

All files are compared to previous version, @astrojs/markdown-remark@7.1.2. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

7.2.0

Minor Changes

  • #16848 f732f3c Thanks @Princesseuh! - Adds a new markdown.processor configuration option, allowing you to choose an alternative Markdown processor.

Websites with many Markdown/MDX files tend to be slow to build because the unified ecosystem (e.g., remark, rehype) is slow to process. This feature introduces the ability to replace this part of the build pipeline with another processor.

The default processor is unified(). This means that existing configurations remain unchanged and your remark/rehype plugins continue to work.

  // astro.config.mjs
  import { defineConfig } from 'astro/config';
  import { unified } from '@astrojs/markdown-remark';
  import remarkToc from 'remark-toc';

  export default defineConfig({
    markdown: {
      processor: unified({
        remarkPlugins: [remarkToc],
      }),
    },
  });

In addition to this new configuration option, Astro provides a new alternative processor based on Rust: SΓ€tteri. You can choose to use it now by installing @astrojs/markdown-satteri, importing the satteri() processor, and adapting your existing configuration:

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

  export default defineConfig({
    markdown: {
      processor: satteri({
        features: { directive: true },
      }),
    },
  });

This processor does not support the remark and rehype plugins. This means you may need to convert them to MDAST or HAST plugins to retain your current functionality.

The existing top-level markdown.remarkPlugins, markdown.rehypePlugins, markdown.remarkRehype, markdown.gfm, and markdown.smartypants options still work, but are now deprecated and will be removed in a future major update. The matching remarkPlugins, rehypePlugins, and remarkRehype options on the MDX integration are also deprecated for the same reason. To anticipate their removal, move them onto unified({...}) (or your preferred plugin processor) :

  // astro.config.mjs
  import { defineConfig } from 'astro/config';
  import remarkToc from 'remark-toc';
  import rehypeSlug from 'rehype-slug';
  + import { unified } from '@astrojs/markdown-remark';

  export default defineConfig({
    markdown: {
  +    processor: unified({
  +      remarkPlugins: [remarkToc],
  +      rehypePlugins: [rehypeSlug],
  +      remarkRehype: true,
  +      gfm: true,
  +      smartypants: true,
  +    }),
  -    remarkPlugins: [remarkToc],
  -    rehypePlugins: [rehypeSlug],
  -    remarkRehype: true,
  -    gfm: true,
  -    smartypants: true,
    },
  });

For more information on enabling and using this feature in your project, see our Markdown guide. To give feedback on this new Rust processor, see the Native Markdown / MDX parsing and processing RFC.

Patch Changes