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

Allow Preview of Images from Local Folders #45

@BenMatheja

Description

@BenMatheja

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions