nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

✨ Add support for shikiji-transformers #2465

Closed jd-solanki closed 9 months ago

jd-solanki commented 9 months ago

Is your feature request related to a problem? Please describe

I recently migrated my blog from VitePress to Alpine due to Nuxt Studio and realized I can't use syntax like // [!code --].

Describe the solution you'd like

As nuxt content already uses shikiji and shikiji do provide support for this syntax can you please enable it?

Describe alternatives you've considered

None.

Additional context

Thanks for Nuxt Studio & Alpine ❤️

farnabaz commented 9 months ago

This feature is added to @nuxtjs/mdc in https://github.com/nuxt-modules/mdc/pull/117 and is available in Content 2.10.0.