sublime_zk icon indicating copy to clipboard operation
sublime_zk copied to clipboard

Shortcut for markdown link

Open jonathan-s opened this issue 7 years ago • 2 comments

It would be nice if there was a shortcut for making a selected word a markdown link. I would suggest cmd + k (on mac) as that is used elsewhere as well. Most notably google docs.

jonathan-s avatar Mar 21 '18 19:03 jonathan-s

That should be easy enough to do. Just to make sure I understand you correctly: if you select the word hello and press cmd+k you want the selection to be transformed into [hello]()?

renerocksai avatar Mar 22 '18 20:03 renerocksai

Well, yes. Alternatively the following which might be cleaner, choice is always a good thing, ie making a setting out of it.

[Hello][1]
Some text. 

[1]: link here

Also with the issues I'm opening, only fix when / if you have time. I think eventually when I feel like I really need it I would contribute to one of these issues that I've opened.

jonathan-s avatar Mar 22 '18 23:03 jonathan-s