@nuxtjs/mdx allows you to write JSX in your Markdown documents in your Nuxt application with MDX.
Import .mdx files as Vue components
Import Vue components in your .mdx files
Replace markdown elements with Vue components with the MDX Provider.
Enjoy light and dark mode:
To learn more about MDX please visit the official documentation.