Repository navigation
v2.1.2
Highlights
📄 View as Markdown
The Markdown menu now includes View as Markdown after Copy Markdown link, opening the current page’s generated .md file in a new tab. The option is available in both the title and outline menus and can be configured with viewMarkdown.
Related PR: #3842
| Before | After |
|---|---|
![]() |
![]() |
🌍 More built-in theme translations
The default theme now includes complete translations for Czech, Dutch, French, German, Italian, Polish, Portuguese (pt and pt-BR), Spanish, Traditional Chinese (zh-Hant and zh-TW), Turkish, and Vietnamese. Both Traditional Chinese tags are supported explicitly; missing translations continue to fall back to English.
Related PR: #3848
🧭 Clearer nested sidebar layout
Nested sidebar backgrounds are inset by 24px per level, with guide lines outside the backgrounds. Single-line rows retain 36px spacing, active labels use the regular font weight to keep wrapping stable, and the active marker is shorter and centered. Keyboard focus remains visible inside collapsible groups.
Related PRs: #3841, #3854, #3855
| Before | After |
|---|---|
![]() |
![]() |
What's Changed
New Features 🎉
- feat(i18n): expand built-in theme translations by @SoonIter in #3848
- feat(theme/llmsUI): add View as Markdown option by @SoonIter in #3842
Bug Fixes 🐞
- fix(theme/Search): ignore stale search results by @SoonIter in #3850
- fix(theme/Sidebar): refine nested item layout by @SoonIter in #3841
- fix(theme/Sidebar): restore spacing and keep active label width stable by @SoonIter in #3854
- fix(theme/Sidebar): shorten nested active indicator by @SoonIter in #3855
- fix(theme): Improve dropdown accessibility 🔊 by @sanjaiyan-dev in #3852
Refactor 🔨
- refactor(theme): migrate
useStorageValuetouseSyncExternalStore📦 by @sanjaiyan-dev in #3851
Document 📖
- docs(blog): refine Rspress 2.1 release announcement by @SoonIter in #3838
- docs(blog): refine Rspress 2.1 overview and social image by @SoonIter in #3840
- docs(theme): document ErrorLayout by @SoonIter in #3839
- docs: download OG font from fork raw URL by @SoonIter in #3847
- docs(website): refresh OG image template by @SoonIter in #3849
- docs(website): simplify Rspress configuration by @SoonIter in #3846
Other Changes
- chore(ci): centralize path filters by @chenjiahan in #3843
- chore(deps): update all patch dependencies by @renovate[bot] in #3844
- chore(deps): update dependency @swc-next/parser to ^0.6.0 by @renovate[bot] in #3845
- test(e2e): stabilize API docgen translation updates by @SoonIter in #3853
- chore(release): bump version to 2.1.2 by @SoonIter in #3857
Full Changelog: v2.1.1...v2.1.2



