[GH-ISSUE #147] Can't preview local image when coordinate with "Markdown All in One" #127

Closed
opened 2026-03-03 01:23:58 +03:00 by kerem · 4 comments
Owner

Originally created by @ChildishChange on GitHub (Oct 9, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/147

I installed this two extensions below for markdown writing, both of them are enabled.
image

When inserting local image, the preview page just can't load the image.
(It works well when inserting picture url :) )

_20181009140816

I disabled markdownlint and reload vs code, the preview page just can load the local image.

Originally created by @ChildishChange on GitHub (Oct 9, 2018). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/147 I installed this two extensions below for markdown writing, both of them are enabled. ![image](https://user-images.githubusercontent.com/8814510/46649844-28eaa280-cbcd-11e8-88c3-aa5714d1256a.png) When inserting **local** image, the preview page just can't load the image. (It works well when inserting picture url :) ) ![_20181009140816](https://user-images.githubusercontent.com/8814510/46649801-048ec600-cbcd-11e8-9e81-d2a2d6ef9aee.png) I disabled markdownlint and reload vs code, the preview page just can load the local image.
kerem 2026-03-03 01:23:58 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@ChildishChange commented on GitHub (Oct 9, 2018):

I tried again.
It works well (successfully loaded local and internet images) when disabling either markdown all in one or markdownlint.

However, if I disabled markdown all in one, the preview page just can't render Latex :(

<!-- gh-comment-id:428078423 --> @ChildishChange commented on GitHub (Oct 9, 2018): I tried again. It works well (successfully loaded local and internet images) when disabling either markdown all in one or markdownlint. However, if I disabled markdown all in one, the preview page just can't render Latex :(
Author
Owner

@DavidAnson commented on GitHub (Oct 9, 2018):

What you describe about images not loading sounds like this behavior in the documentation: https://code.visualstudio.com/docs/languages/markdown#_markdown-preview-security

Could you please have a look to see if it is related?

The markdownlint extension does not do anything to modify the document and it is not involved with the Preview window, so I do not think it should be part of this problem.

Sent with GitHawk

<!-- gh-comment-id:428250105 --> @DavidAnson commented on GitHub (Oct 9, 2018): What you describe about images not loading sounds like this behavior in the documentation: https://code.visualstudio.com/docs/languages/markdown#_markdown-preview-security Could you please have a look to see if it is related? The markdownlint extension does not do anything to modify the document and it is not involved with the Preview window, so I do not think it should be part of this problem. <sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
Author
Owner

@ChildishChange commented on GitHub (Oct 9, 2018):

Thanks for your warming help :) !

I tried but it seems not related to the preview security settings :(

I also raised issue under all-in-one repo.
https://github.com/neilsustc/vscode-markdown/issues/296

They seem to have some clues now :)

Thanks again!

<!-- gh-comment-id:428282929 --> @ChildishChange commented on GitHub (Oct 9, 2018): Thanks for your warming help :) ! I tried but it seems not related to the preview security settings :( I also raised issue under all-in-one repo. https://github.com/neilsustc/vscode-markdown/issues/296 They seem to have some clues now :) Thanks again!
Author
Owner

@DavidAnson commented on GitHub (Oct 9, 2018):

Closed as suggested by https://github.com/neilsustc/vscode-markdown/issues/296#issuecomment-428305193

Sent with GitHawk

<!-- gh-comment-id:428317630 --> @DavidAnson commented on GitHub (Oct 9, 2018): Closed as suggested by https://github.com/neilsustc/vscode-markdown/issues/296#issuecomment-428305193 <sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#127
No description provided.