remark-svelte-auto-import

Fri, 24 Nov 2023 19:00:00 +0100

Using mdsvex the creation of pages using Markdown within the Svelte framework becomes really convenient. Obviously even though you want to write your content in Markdown syntax you also want to make use of custom Svelte components. This is possible but it requires to provide some technical code into Markdown: The imports necessary for the components. Clearly this doesn’t look nice so that’s where this plugin steps in. It generates a script tag with the necessary imports allowing to use all components. Checkout the project page remark-svelte-auto-import for further information.