@link tags don't work in .svelte files

#2604

Issue

Open
B
braebo
Nov 25, 2024, 4:19 AM

Describe the bug

Doc comments with @link tags are no longer clickable links when rendered to their tooltip within a .svelte file.

Reproduction

The following interface:

interface FooBar {
  foo: 1
  bar: 2
  /**
   * Sum of {@link foo} and {@link bar}
   */
  foo_bar: 3
}

When placed (or imported) into a .svelte file, no longer shows clickable links.

Screenshot 2024-11-24 at 11 06 18 PM

Expected behaviour

In a .ts file, foo and bar are clickable links:

Screenshot 2024-11-24 at 11 06 54 PM

System Info

  • OS: MacOS
  • IDE: Cursor / VSCode

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

No response

Info

Assignees None
Labels feature request
Milestone None