UserScripts icon indicating copy to clipboard operation
UserScripts copied to clipboard

Replace ![description](link to imgur) with [![description](link to imgur)](link to imgur)

Open double-beep opened this issue 5 years ago • 1 comments

I have come across many posts where people inserted their images with the format:

![enter image description here](link to imgur)

I don't really know why they did it, however, my best guess is that this was the way Stack Exchange used to insert images.

This is not good however. If the images needs to be zoomed, then the Stack Overflow page is not suitable for this. They must go to imgur and zoom. This is done by using the following format:

[![description](link to imgur)](link to imgur)

where the image is clickable.

It is well known that Magic Editor replaces:

[description](link to imgur)

with:

Description:  
[![description](link to imgur)](link to imgur)

It would be great to do it, also when ! is present.

Some additional notes:

  • (link to imgur) isn't usually presented. Instead, there is [n], where n is a number.

  • One feature more (can be done for both cases): if the description is enter image description here, then, it should be removed (i.e. [![](link to imgur)](link to imgur)) and it should not be above the image like:

    Enter image description here:
    [![](link to imgur)](link to imgur) - should not be done

double-beep avatar Apr 21 '19 14:04 double-beep