Saving md to jsx files in a folder with vitejs & solid-jsx
hi, i have many md files in a folder and i want vite to convert all of them to jsx and store them in a folder, is this possible?
5 Replies
@brendan_csel new query 🙂
I don't know anything specific to
I think it (and
solid-jsx
sorry.I think it (and
solid-mdx
) are more about converting mdx to components "on-the-fly" as part of your app - rather than persisting anything to the file system.
Hopefully someone else might have a suggestion. Or perhaps ask on the solid-jsx repo https://github.com/high1/solid-jsx.You can emit pure JSX files with @md9742x-js, you would just need a separate build step for this. You don't need solid-jsx or solid-mdx for that. The purpose of those two is to make mdx files work with solid-js .
cool!
jsx: true will just give you jsx which you need to compile with solid-js
You will need solid-mdx for that, I think