Svelte Comment Tags #7363
Unanswered
themixednuts
asked this question in
Troubleshooting
Replies: 2 comments 1 reply
-
Block comments are not currently supported (#1505). C-c also does not add Once that is supported though we will need to choose comment tokens based on the injection layer: within the javascript and CSS portions we should use the tokens for those languages. (edit: #7364) |
Beta Was this translation helpful? Give feedback.
0 replies
-
With the addition of block comments, I got it working in Svelte with: # languages.toml
[[language]]
name = "svelte"
block-comment-tokens = {start = "<!--", end = "-->"} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the "html" portion of svelte files, the comment tag doesn't change to wrapping the block in <!--
html
-->Beta Was this translation helpful? Give feedback.
All reactions