Replies: 1 comment
-
I have found this related issue but I'm mostly checking in to see whether there is a better workaround than I'm currently using. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love the concept of MDsveX. I'm excited to start using it.
I've created a little playground for myself to test some things out, but quickly ran into issues getting my editor (VSCode) to work nicely with
.svx
files.The Svelte for VSCode extension has brilliant editor functionalities for .svelte files. Great code highlighting, code suggestions, and the prettier-plugin-svelte makes for consistent styling.
This functionality all falls away when I start trying to create
.svx
files..The current 'best' workaround I found is associating
.svx
assvelte
files or asmarkdown
files. Both of these have major drawbacks.Associating with svelte loses markdown highlighting.
Associating with markdown features good highlighting but no code suggestions.
As there is currently no prettier parser that supports
.svx
files, it also means that you have to lose Prettier formatting altogether, as it will annihilate the Markdown markup in the process of formatting the file if you do attempt to run it.This lack of editor support really puts me off into picking up MDsvex for my next project. Is there anything I've missed to make life easier, or is this the current state?
Beta Was this translation helpful? Give feedback.
All reactions