Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Markdown LinkNew to Visual Studio Code? Get it now.
Copy Markdown Link

Copy Markdown Link

bisquit

| (0) | Free
Copy markdown link with GitHub and VSCode URLs for current file/cursor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Copy Markdown Link

A Visual Studio Code extension that allows you to copy a markdown-formatted link to the current file and cursor position. It generates a dual link containing both a web URL (GitHub) and a local editor URL (VSCode or Cursor), perfect for sharing context with teammates.

Features

  • Copy Markdown Link: Generates a link in the format File.ext#Lxx([github](https://github.com/bisquit/vscode-copy-mdlink/blob/HEAD/...)/[protocol](https://github.com/bisquit/vscode-copy-mdlink/blob/HEAD/...)).
  • Dual Links: Includes both GitHub web link (if in a repo) and local editor link.
  • Protocol Configuration: Choose between vscode (default), cursor, and antigravity protocols for the local link.

Usage

  1. Open a file in VS Code.
  2. Place your cursor on the line you want to link to.
  3. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).
  4. Run the command "Copy Markdown Link: Copy".
  5. The markdown link is copied to your clipboard.

Extension Settings

This extension contributes the following settings:

  • copyMdLink.protocol: Select the protocol for editor links. Options: vscode (default), cursor, antigravity.

Requirements

  • VS Code 1.104.0 or higher.
  • (Optional) Git installation for GitHub link generation.

Known Issues

  • None.

Release Notes

0.0.1

  • Initial release.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft