I am using hugo for my docs, in vscode. When I add image, I add as below, which I can also preview. The
assets folder is in same level as parent folder of below file (and this varies for each md depending on its position)
However, hugo does not recognize this relative path. Hugo suggests using as below (reference) or with base url.
However using above or with base-url both will fail to provide a preview for me in vscode, though it generates image successfully in served website.
Please suggest a workflow, where I could both preview and also generate hugo successfully. I am sure many of you might be using vscode and understandably with a preview option., so there should be workarounds derived already.