v2.12.0
🚀 Enhancements
- Adopt to mdc v0.4 (#2539)
NOTE Content module does not load languages that are not specified by the users for syntax-highlighting. See the documentation.
If you want to load support all languages, you can load them in module's configimport { bundledLanguages } from 'shiki' export default defineNuxtConfig({ content: { highlight: { langs: Object.keys(bundledLanguages) } } })
🔥 Performance
- content-list: Cache contents list during generation and per-request (#2527)
🩹 Fixes
- module: Handle former props in ContentSlot transformer (#2525)
- client-db: Fetch dir config on legacy query (4b9b6b7a)
- navigation: Ignore extensions on navigation sort (#2529)
📖 Documentation
- Add highlight.langs (61f6cda9)
🏡 Chore
- tw-support: Get cssPath from array (#2501)
- Missing imports in playground (e7e082c3)
- Upgrade
@nuxtjs/mdc
(d3437082)
❤️ Contributors
- Anthony Fu [email protected]
- Farnabaz (@farnabaz)
- Inesh Bose [email protected]