Update 01-svelte-components.md to show example markup better

- it is confusing not to see any example markup.  The code comment is grey and I think it's easier to see if we show the 3 sections, instead of 2 with 1 greyed comment.
pull/11898/head
Thad Guidry 2 years ago committed by GitHub
parent 8892078091
commit f353cf6aa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,7 +11,10 @@ All three sections — script, styles and markup — are optional.
// logic goes here
</script>
<!-- markup (zero or more items) goes here -->
<!-- any HTML markup (zero or more items) goes here, such as this example markup -->
<div>
<Widget />
</div>
<style>
/* styles go here */

Loading…
Cancel
Save