@astrojs/markdown-satteri@0.4.2

withastro/astro@astrojs/markdown-satteri@0.4.2Sep 22, 2026by astrobot-houston

Upgrading?

AI Summary

This patch release fixes syntax highlighting issues in fenced code blocks and resolves heading ID generation errors caused by state sharing across documents.

Key Highlights

  • Fixes syntax highlighting for fenced code blocks when raw HTML is enabled.
  • Fixes heading IDs sharing state across documents, preventing incorrect numeric suffixes.

Full Release Notes

### Patch Changes

- [#17946](https://github.com/withastro/astro/pull/17946) [`3fd16ee`](https://github.com/withastro/astro/commit/3fd16eeb5cd096a6ceb8cc3e70b89ed30d6fcd4d) Thanks [@odysseus0](https://github.com/odysseus0)! - Fix syntax highlighting for fenced code blocks when raw HTML is enabled.

- [#18046](https://github.com/withastro/astro/pull/18046) [`8358d59`](https://github.com/withastro/astro/commit/8358d59cba754480c7d830c473837a0d7100ac7e) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixes `satteriHeadingIdsPlugin` sharing Slugger state across documents when reused as a user hast plugin, which caused headings with the same text in different posts to receive incorrect numeric suffixes

Related Repositories