PasteURL
is a simple extension that generating markdown-style link when pasting URL.
When pasting, automatically converting URL to markdown style link.
For example, you have the below URL in your clipboard:
https://code.visualstudio.com
When pasting with Paste URL
, you will get
[Visual Studio Code - Code Editing. Redefined](https://code.visualstudio.com)
One gif is worth a thousand words.
- Hit
"Control + Alt + P"
(Recommended) - Hit
"Command + Shift + P"
and then typePaste URL
and hit enter.
Selection will be used as the title if possible.
You can change the default shortcut to whatever you like by editing the Code > Preferences > Keyboard Shortcuts
(File > Preferences > Keyboard Shortcuts
on Windows):
[
{"key": "ctrl+alt+p", "command": "extension.pasteURL"}
]
- Fetching title from some URLs may take longer than expected.