npm @nuxt/content 2.12.0
v2.12.0

latest releases: 3.0.0-alpha.6, 3.0.0-alpha.5, 3.0.0-alpha.4...
9 months ago

🚀 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 config

import { 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

🏡 Chore

  • tw-support: Get cssPath from array (#2501)
  • Missing imports in playground (e7e082c3)
  • Upgrade @nuxtjs/mdc (d3437082)

❤️ Contributors

Don't miss a new content release

NewReleases is sending notifications on new releases.