Closed shinokada closed 2 years ago
To fix this, ensure that your Example.svelte has no whitespace between your <pre>
tags and slots
<pre><slot name="code" /></pre>
Unsure if this is intentional or not.
Yeah my bad, the Example in the README mistakenly had whitespace around the pre tag. I've updated it now. Sorry about that!
Thanks. It fixed. It might be a good idea to mention about it.
I created
src/lib/Example.svelte
as you suggested in the README.However if I don't add an extra empty line, it messes up the code as you see in the following image.
If I add an extra line there is too much space.