Microsoft/vscode

Markdown Preview: Open markdown links in new tab

Open

#265,994 opened on Sep 10, 2025

View on GitHub
 (3 comments) (5 reactions) (1 assignee)TypeScript (10,221 forks)batch import
feature-requesthelp wantedmarkdown-ext

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

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