Powertoys: Markdown Preview: Show images

Created on 1 Apr 2020  路  8Comments  路  Source: microsoft/PowerToys

Iit would be nice if the images referred to in Markdown files could be shown. This may be a security issue though.

Note: I am the author of MarkdownPreview, a Windows Explorer preview pane extension looking forward to drop support, already announcing people to switch to Powertoys

Idea-Enhancement Product-File Explorer

Most helpful comment

3713 had the idea of "click to enable"

All 8 comments

There could be an 'Show Images' option in the preview pane, just like it is done by Gmail.

We treat the MD file the same (in theory) as the HTML file. HTML blocks scripts / images so we do the same. If there is a scenario we did incorrectly, please make us aware but right now we don't want to allow a file to arbitrarily load a random script.

scenario i'm primarily thinking of is the img is local versus loaded off the internet.

@Atrejoe can you email me? love to sync on all your MD things here. [email protected]

Right now we're mimicing the pattern for HTML files. we'll look into this a bit more

I also would like to request the ability to show local images. It would be very useful.

3713 had the idea of "click to enable"

Similarly to #3713 I misunderstood "Open this item to view pictures", to mean click the header.
You could change the wording to "Open the file to view pictures." (While you work on the image support.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Martin-Hausleitner picture Martin-Hausleitner  路  3Comments

enricogior picture enricogior  路  3Comments

niels9001 picture niels9001  路  3Comments

CombeeMike picture CombeeMike  路  3Comments

patware picture patware  路  3Comments