gutter-preview icon indicating copy to clipboard operation
gutter-preview copied to clipboard

Not displaying files from different folders/variables

Open suwermave opened this issue 1 year ago • 0 comments

I'm using SvelteKit The static files are served on the site root path (eg. if you have the file static/image.png you can access it using http://{server-url}/image.png

It means that some paths to images is written without "/static" prefix. So gutter-preivew cannot found it. I could use "gutterpreview.sourceFolder":"static" but then something like "$lib/assets/LogoMono.svg" will stop working. Any solution? Here is how it looks without the option and with. Notice the missing SVG image image

suwermave avatar Jun 28 '23 16:06 suwermave