Microsoft/vscode

Markdown Preview: Open markdown links in new tab

Open

#265,994 opened on Sep 10, 2025

 (3 comments) (5 reactions) (1 assignee)TypeScript (39,847 forks)batch import
Good first issueUIfeature-requesthelp wantediOSmarkdown-ext

Repository metrics

Stars
 (184,936 stars)
PR merge metrics
 (PR metrics pending)

Description

In the the Markdown Preview, it should be possible to open markdown links in a new tab. For example through Ctrl + Clicking the link.

Steps to reproduce

  1. Open markdown file
  2. Open Markdown Preview through command palette
  3. Click link to another markdown file

Example

# The Foo 1 File
[foo2](./foo2.md)
# The Foo 2 File
[foo1](./foo1.md)

Contributor guide