5

I'm in the process of migrating my blog from Sapper to SvelteKit. I've written blog posts using markdown, and I was using markedjs to import the markdown files and export them to my component. It looks like this approach doesn't work with SvelteKit, however.

How would I do this using SvelteKit? Do I need a Vite plugin?

4

1 回答 1

4

npx svelte-add mdsvex from: svelte-add/msvex did the heavy lifting for me.

于 2021-04-01T13:04:30.470 回答