Replies: 4 comments 2 replies
-
It is probably possible, but I don't know Svelte. How do you write files for Svelte? Are they a special file type like Vue? If you could post a sample Svelte file I could look into it. |
Beta Was this translation helpful? Give feedback.
-
Of course! thanks for the quick response, you can find some source files on github @ https://github.com/sveltejs/kit/tree/main/packages/create-svelte/templates/default which is what gets installed when running .svelte files include javascript/typescript, HTML, scss/css/postcss in it. There is its own treesitter which highlights different things but I can't get rainbows in it. |
Beta Was this translation helpful? Give feedback.
-
Adding another example page in case something smaller is needed: https://gist.github.com/gipo355/8459cd522df8fa1be82bd23644f06c78 |
Beta Was this translation helpful? Give feedback.
-
Is this a reasonable Svelte test file?
The parser is giving me several problems:
I don't think this is really production ready and I would rather have someone who knows Svelte help out. Here is the query I got so far: rainbow-delimiters.txt |
Beta Was this translation helpful? Give feedback.
-
Hello! thanks for this plugin!
I was wondering if it was possible to get html inside svelte files to highlight tags differently.
this is the current implementation, all the tags have equal colors
Beta Was this translation helpful? Give feedback.
All reactions