beginner-sveltekit icon indicating copy to clipboard operation
beginner-sveltekit copied to clipboard

Extra double quotes in code blocks

Open c-marc opened this issue 2 years ago • 0 comments

Hello. I'm having a look at this tutorial, and there's something weird in all the pages I've read so far. In the course, in the code blocks, all directives wrap curly braces with double quotes. For example: on:click="{myFunction}"... The right syntax on:click={myFunction} is used in the sources in GH repository, but these extra quotes appears from the start of the tutorial (on:click="{...}") and this goes on in the following chapters (bind:value="{...}" ). I'm not sure if it's an error or if your material is being modified by some sort of auto-formatting of your code block... I couldn't find sources for the course material so I don't know if these are markdown files or something like that. Anyway, this might be confusing for newcomers who would follow along relying on the written material.

c-marc avatar Aug 01 '23 09:08 c-marc