gutter-preview
gutter-preview copied to clipboard
Not displaying files from different folders/variables
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