idea-multimarkdown icon indicating copy to clipboard operation
idea-multimarkdown copied to clipboard

Is it possible to view link URLs on hover?

Open SurealCereal opened this issue 4 years ago • 5 comments

When previewing markdown, it would be useful to see where a link will go to when hovering over it. Is this possible at present?

SurealCereal avatar May 26 '20 16:05 SurealCereal

@SurealCereal, currently link hover displays link title if it is provided [link text](link url "link title"), I will check if I can add JS code to display the link URL on link hover in the status bar.

vsch avatar May 27 '20 02:05 vsch

@vsch Thanks for the tip; I'll use those link titles in the meantime.

SurealCereal avatar May 27 '20 16:05 SurealCereal

@SurealCereal, actually I can add an option to use the URL as the title if no actual title is provided. This way links will have a default title equal to the URL.

I will let you know when an EAP release with the fix is available.

vsch avatar May 27 '20 22:05 vsch

@SurealCereal, EAP update with a fix for the issue is available.

Installing EAP Plugin Version

Please note the change that EAP channel is for JetBrains licensed plugin and Legacy EAP is for legacy licensing by vladsch.com

Enable HTML generation option Use URL as default title in Languages & Frameworks | Markdown | HTML Generation:

image

vsch avatar May 28 '20 03:05 vsch

@vsch I tried the EAP update and it works well. Much appreciated! Its definitely easy to see where a link goes now. It would be great if the URL could be shown immediately when the cursor enters a link in the status bar of the preview (if there is such a thing) like Firefox and Chrome do, but that's definitely an optional extra. In the meantime, this tooltip solution is a huge improvement.

SurealCereal avatar May 28 '20 06:05 SurealCereal