Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Insert AnchorNew to Visual Studio Code? Get it now.
Insert Anchor

Insert Anchor

JIANG Jing

|
181 installs
| (0) | Free
Insert an anchor when URL is pasted.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Extension - Insert Anchor

When a URL is pasted into a markdown file, to generate an anchor instead of inserting the URL text only. Suppose that you get "https://code.visualstudio.com/" in your clipboard, then you choose "Insert or Transform To An Anchor" in command palette, or press shift+cmd+v (macOS) / shift+ctrl+v (Windows), you will get the next markdown:

[Visual Studio Code - Code Editing. Redefined](https://code.visualstudio.com/)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft