Post

Any thoughts on running the Svelte language server within a markdown codeblock? ```svelte ``` *.md files or even a specific extension such as *.mdsx. This was the cause of my biggest pain points when writing LayerChart/etc docs in md. cc: @rich-harris.dev @paolo.ricciuti.me @joshnuss.com

Sean Lynch@techniq.dev

I love the authoring of experience of markdown for component docs, but always struggled with the following (especially within a Svelte/mdsvex environment) ❌ Code completion ❌ Type checking ❌ Masked errors ❌ Prettier formatting ❌ No quickfix (ex. imports) / highlight unused imports

0 reposts5 likes

I'd love to switch back to markdown files for an improved authoring experience (especially for long form guides) and easily generate llms.txt, etc.

Has the Svelte team considered adding first class Markdown support to SvelteKit? SvelteKit plus Mdsvex covers the basics but it comes with a few pain points, e.g. it adds its own layout type and the frontmatter metadata are locked in inside the Mdsvex layouts.

Forgot about this old MDsveX issue github.com/pngwn/MDsveX... and evidence.dev having a plugin with this supported (github.com/evidence-dev...) although the plugin is now archived, likely due to their pivot to Evidence Studio (web IDE). I wonder if this could be rolled into the Svelte VSCode ext?

github.comVS Code syntax highlighting? File Type Icon? · Issue #121 · pngwn/MDsveXIs there any syntax highlighting/autocompletion/file type icon stuff in the works for .svx files? Is it already there and I'm not seeing it in my extensions searches?