You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#16848f732f3c 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.
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:
#16848f732f3c 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.
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:
This PR bumps @astrojs/mdx from 5.0.6 to 6.0.2. The major release introduces an alternative Markdown processor option, but defaults remain unified() so existing remark/rehype pipelines are unaffected. The package is used directly in src/util/container.ts to render all MDX content to HTML. Because it is a major bump in the core rendering path, merge is safe but a quick spot-check of a few MDX pages after deploy is warranted.
Package details
@astrojs/mdx: 5.0.6 → 6.0.2
Type: breaking change Dependency type: direct
What changed
Major version 6.0.0 adds a new markdown.processor config option for choosing an alternative Markdown processor (e.g., Sätteri).
6.0.2 patches Sätteri processor to v0.8.0 and bumps @astrojs/markdown-satteri to 0.2.2.
Peer dependency requirements updated to astro: ^6.4.0 (repo is on 6.4.4, so compatible).
Usage in this repo
Direct dependency. Imported in src/util/container.ts as mdxRenderer from @astrojs/mdx/server.js to render all MDX/MD content entries to HTML via experimental_AstroContainer. Used for every docs and changelog page on the site.
Impact: 🟠 Medium — The change is additive and defaults are preserved, so current remark/rehype configs and renderer usage should continue working. However, this is a major bump in the MDX processing pipeline that renders every docs page. Any regression would affect visitor-facing HTML output.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filejavascriptPull requests that update Javascript codesize/s
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @astrojs/mdx from 5.0.6 to 6.0.2.
Release notes
Sourced from @astrojs/mdx's releases.
... (truncated)
Changelog
Sourced from @astrojs/mdx's changelog.
... (truncated)
Commits
fd7784e[ci] release (#16950)9a93d68feat: update to Sätteri 0.8.0 (#16955)3b75dc6[ci] release (#16884)c7157e6[ci] release (#16870)66593e3[ci] formatf732f3cfeat: add markdown processor abstraction (#16848)