Allow Preview of Images from Local Folders
BenMatheja opened this issue · comments
Ben Matheja commented
Hi all,
first of thanks @shd101wyy for creating this plugin. It is a big leap forward to use VScode as the single note-taking app.
Within my notes I reference images served from an assets folder within the same directory all of my notes are placed.
![Berliner Modell](assets/BerlinerModell.jpg "Berliner Modell")
Unfortunately the internal preview disallows from loading the image due to CSP-Policies.
Embedded Page] Refused to load the image 'vscode-resource://file//d:/Daten/OneDrive/Knowledge/assets/BerlinerModell.jpg' because it violates the following Content Security Policy directive: "img-src 'self' data: https: vscode-webview-resource:".
Is there any way I can influence that e.g. by using the right vscode-crossnote settings?