How do I link src (HTML) from a host and not from a directory in VSCode?

Viewed 26

I'm having trouble with previewing images and such in VSCode, which limits my ability to edit HTML properly in VSCode.

So instead of writing an entire URL, can I just "link" the DNS as a folder?

For example, instead of writing something like

src="www.site.com/file/pic.jpg" 

Can I just write something like

src=file/pic.jpg 

with any specific command in between? like a ref?

I've tried something like but I really haven't figured it out yet.

0 Answers
Related