Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Allow Preview of Images from Local Folders #45

Open
BenMatheja opened this issue Nov 29, 2020 · 0 comments
Open

Allow Preview of Images from Local Folders #45

BenMatheja opened this issue Nov 29, 2020 · 0 comments

Comments

@BenMatheja
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant