File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ A `.svelte` file would look something like this:
3333 }
3434</script>
3535
36- <button on:click=" {handleClick}" >Count: {count}</button>
36+ <button on:click={handleClick}>Count: {count}</button>
3737
3838<p>{count} * 2 = {doubled}</p>
3939<p>{doubled} * 2 = {quadrupled}</p>
Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ The VS Code extension comes with its own syntax highlighting grammar which defin
5454 "textMateRules" : [
5555 {
5656 "settings" : {
57- "foreground" : " #569CD6" , // any color you like
57+ "foreground" : " #569CD6" // any color you like
5858 },
5959 "scope" : " support.class.component.svelte" // scope name you want to adjust highlighting for
6060 }
61- ],
62- },
61+ ]
62+ }
6363 }
6464}
6565```
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ This is also the reason why preprocessors such as `svelte-preprocess` cannot do
3434<script lang="ts">
3535 let a: number = 1;
3636</script>
37+
3738{a}
3839```
3940
You can’t perform that action at this time.
0 commit comments