@astrojs/markdown-satteri@0.3.1-alpha.0
📦 astroView on GitHub →
✨ 2 features🐛 2 fixes🔧 2 symbols
Summary
This release introduces @astrojs/markdown-satteri as a new, faster Markdown processor option based on Sätteri. Later updates added support for Prism syntax highlighting within the Sätteri processor.
Migration Steps
- To use the new Sätteri processor, install it via 'npm install @astrojs/markdown-satteri' and configure it in astro.config.mjs: 'markdown: { processor: satteri() }'.
- If using syntax highlighting with Sätteri, set 'markdown.syntaxHighlight' to 'prism' (available since 0.3.0). Previously, syntax highlighting was unsupported or required 'shiki'.
✨ New Features
- Adds support for Prism syntax highlighting to the Sätteri Markdown and MDX processors when setting markdown.syntaxHighlight to 'prism'.
- Introduces @astrojs/markdown-satteri, a new Markdown processor based on the fast Rust-based Sätteri pipeline, intended to eventually become the default processor.
🐛 Bug Fixes
- Fixes missing provenance information on the publish (in version 0.2.1).
- Updates Sätteri processor to v0.8.0 (in version 0.2.2), incorporating fixes and features from the underlying Sätteri library.