This was just a quick preview of Docusaurus v3
More details in the blog post:
https://t.co/p1Jisf0Ia3
v3.0 does not come with a huge list of features, but is an important infrastructure upgrade.
This sets the ground for a new wave of Docusaurus features we plan to implement!
Inject HTML data attributes with query-string / search params
This can be useful for various reasons
For example, you can customize CSS based on query-string params
Tip: use this to embed Docusaurus as an iframe in another website, and customize the layout
No FOUC expected!
💥 Docusaurus v3 first alpha is available! 💥
Please give this pre-release a try and share feedback!
Main breaking changes:
➡️ MDX v1 => v2
➡️ React v17 => v18
🔗 https://t.co/UCgM6iQ5QD
Many other changes too!
Check the full changelog here:
https://t.co/yGhkOSVY7z
This is likely the last 2.x minor release.
The next one should be v3.0, including MDX 2 and React 18 🤞 🙌
👋
🧵 Many translation improvements
New translations:
🇭🇺 Hungarian
🇳🇴 Norwegian (Bokmål)
New DOCUSAURUS_CURRENT_LOCALE
➡️ experimental workaround to translate your site config: title, tagline, announcement bar...