-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert and display images #56
Comments
Interesting idea, we could copy (any) file and paste it into the editor. It is copied into the directory structure (day subfolder, same as for the notes) and we place a link to the file at the location we copied it into. If the file is an image, we could use the appropriate markdown (which should then be renderered in the markdown preview) |
In that case, the extension will require a specific folder structure that might make it more difficult to migrate from other extensions. |
If you paste a file via Ctrl+V into the editor, we only have to options: a) keep the file where it is and insert the appropriate markdown to display the file content in the preview (either as link or as image). That means the linked file has to stay where it is (highly unlikely) Showing it inline is not a feature of the vscode editor. The only options to customize are highlighting and font colors. We have to use the markdown preview for this. Regarding your point of embedding a binary. This (surprisingly) works, you can test with this (from here):
Open it in the preview to see the according image. |
Using base64 as a source in a markdown link looks fine. Good finding. Thanks! |
It would be nice to have the ability to insert images into notes with CTRL+V. They should probably be stored in the same note as Base64 at the bottom of the note just not no lose it.
Also, it would be nice to display them in place (I don't know whether it's possible in the VSCode).
The text was updated successfully, but these errors were encountered: