When I create a link in Markdown, I tend to do so manually:
Unfortunately StackEdit decides it wants to handle the link pasting as "create a link with the URL as both the link text and the URL" which means I then need to edit half of it out.
Could it either just not do anything special when pasting URLs, or at least detect that this is already the URL part of a link, and disable the special handling in that case?
Instead of handling pasting text I think it would be a nice and productive feature handling pasting an image by uploading it transparently and producing a resulting URL.
NOTE: Other editors use imgur as the external service to upload image (such as HackMD.io)
@pucherico: This isn't about images at all. It's about regular links.
@jskeet I know. Perhaps it'd be better to comment this subject in a new issue.
Have this link issue too. Is there anything I can config in the settings to disable this behavior?
Came here to talk about this issue, so I'd like to add my two cents:
Could it either just not do anything special when pasting URLs, or at least detect that this is already the URL part of a link, and disable the special handling in that case?
I really like this behaviour (at least the pre-creating of the link format []() !
My suggestion for modified behaviour:
Keep parsing and pre-constructing the link format, but leave the link text empty
E.g.
https://www.example.com[](https://www.example.com)[] to enable quick typing of link textThis would be soooooo much more useful
@ortonomy: So what would you expect that to do in my case, where I've already written [this is the link text]( and I just want to paste the URL? Adding an extra [] there would be irritating IMO.
@jskeet you already said it, no?
at least detect that this is already the URL part of a link, and disable the special handling in that case
I still think the current behaviour is useful and needs to be modified along with your suggestion.
@ortonomy: Yes, I suggested one thing - but it wasn't clear that you agreed with that part. You seemed to be disagreeing with the overall request.
@jskeet -- partially:
Could it either just not do anything special when pasting URLs
I do disagree with this part! I should have been clearer in my quoting.
Any solution to this? When I'm trying to past link in code the link is converted instead just to past link. Any options to disable it?
@rafx85 My workaround to this is just pasting the link with <Ctrl>+<Shift>+<V> instead of <Ctrl>+<V>
@pucherico Thank you, will try that.
An option to disable this behaviour would be great.
for now the <Ctrl>+<Shift>+<V> seems to be the possible workaround.
Most helpful comment
@rafx85 My workaround to this is just pasting the link with
<Ctrl>+<Shift>+<V>instead of<Ctrl>+<V>