#Is it possible to use Svelte components inside MDX?

2 messages · Page 1 of 1 (latest)

vocal cargo
#

According to the MDX documentation, it is possible to use Svelte components inside MDX files by setting options.jsxImportSource to svelte-jsx and using this package: https://github.com/kenoxa/svelte-jsx. It doesn't look like Astro allows for customization of MDX's configuration options, is this still possible?

muted flare
#

Yes it's possible to use svelte components in MDX, or any other component framework supported by astro