@@ -108,28 +108,31 @@ your JSX runtime.
108108 you don’t need to do anything.
109109 Optionally install and configure [ ` @mdx-js/react ` ] [ mdx-react ]
110110* If you’re using ** Preact** ,
111- set [ ` options.jsxImportSource ` ] [ options-jsximportsource ] to ` 'preact' ` .
111+ set [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ] to
112+ ` 'preact' ` .
112113 Optionally install and configure [ ` @mdx-js/preact ` ] [ mdx-preact ]
113114* If you’re using ** Svelte** ,
114115 install [ ` svelte-jsx ` ] [ svelte-jsx ] .
115- Set [ ` options.jsxImportSource ` ] [ options-jsximportsource ] to ` 'svelte-jsx' ` .
116+ Set [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ] to
117+ ` 'svelte-jsx' ` .
116118* If you’re using ** Vue 3** ,
117- set [ ` options. jsx` ] [ options-jsx ] to ` true ` .
119+ set [ ` jsx ` in ` ProcessorOptions ` ] [ processor-options ] to ` true ` .
118120 Then use Babel alongside your MDX integration (which is possible with
119121 webpack and Rollup but not esbuild) and configure it to use
120122 [ ` @vue/babel-plugin-jsx ` ] ( https://github.com/vuejs/jsx-next/tree/dev/packages/babel-plugin-jsx ) .
121123 Optionally install and configure [ ` @mdx-js/vue ` ] [ mdx-vue ]
122124* If you’re using ** Emotion** ,
123- set [ ` options. jsxImportSource` ] [ options-jsximportsource ] to
125+ set [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ] to
124126 ` '@emotion/react' `
125127* If you’re using ** Theme UI** ,
126128 install and configure [ ` @mdx-js/react ` ] [ mdx-react ] .
127129 Then wrap your MDX content in a ` <ThemeProvider /> `
128130* If you’re using ** Solid** ,
129- set [ ` options.jsxImportSource ` ] [ options-jsximportsource ] to ` 'solid-js/h' `
131+ set [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ] to
132+ ` 'solid-js/h' `
130133
131134Other JSX runtimes are supported by setting
132- [ ` options. jsxImportSource` ] [ options-jsximportsource ] .
135+ [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ] .
133136See also the different options there on how to use the classic JSX runtime
134137and how to define a ` pragma ` and ` pragmaFrag ` for it.
135138
@@ -719,7 +722,7 @@ on how to use MDX with React Static.
719722</details >
720723
721724[ Emotion] ( https://emotion.sh/docs/introduction ) is supported when
722- [ ` options. jsxImportSource` ] [ options-jsximportsource ] is set to
725+ [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ] is set to
723726` '@emotion/react' ` .
724727You can optionally install and configure [ ` @mdx-js/react ` ] [ mdx-react ] , which
725728allows for context based component passing.
@@ -780,8 +783,8 @@ more info.
780783 ```
781784</details >
782785
783- Preact is supported when [ ` options. jsxImportSource` ] [ options-jsximportsource ] is
784- set to ` 'preact' ` .
786+ Preact is supported when [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ]
787+ is set to ` 'preact' ` .
785788You can optionally install and configure [ ` @mdx-js/preact ` ] [ mdx-preact ] , which
786789allows for context based component passing.
787790
@@ -856,8 +859,8 @@ info.
856859 ```
857860</details >
858861
859- Svelte is supported when [ ` options. jsxImportSource` ] [ options-jsximportsource ] is
860- set to ` 'svelte-jsx' ` , which is a [ small package] [ svelte-jsx ] that adds support
862+ Svelte is supported when [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ]
863+ is set to ` 'svelte-jsx' ` , which is a [ small package] [ svelte-jsx ] that adds support
861864for the JSX automatic runtime to Svelte.
862865
863866See also [ ¶ esbuild] [ esbuild ] , [ ¶ Rollup] [ rollup ] , and [ ¶ webpack] [ webpack ] ,
@@ -899,8 +902,8 @@ for more info.
899902 ```
900903</details >
901904
902- Solid is supported when [ ` options. jsxImportSource` ] [ options-jsximportsource ] is
903- set to ` 'solid-js/h' ` .
905+ Solid is supported when [ ` jsxImportSource ` in ` ProcessorOptions ` ] [ processor-options ]
906+ is set to ` 'solid-js/h' ` .
904907
905908See also [ ¶ Vite] [ vite ] and [ ¶ Rollup] [ rollup ] which you might be using, for
906909more info.
@@ -961,9 +964,7 @@ See their readmes on how to configure them.
961964
962965[ evaluate ] : /packages/mdx/#evaluatefile-options
963966
964- [ options-jsximportsource ] : /packages/mdx/#optionsjsximportsource
965-
966- [ options-jsx ] : /packages/mdx/#optionsjsx
967+ [ processor-options ] : /packages/mdx/#processoroptions
967968
968969[ cra ] : #create-react-app-cra
969970
0 commit comments