Skip to content

MarkDown preview links are too agressive #59999

@srl295

Description

@srl295

Issue Type: Bug

The VS Code preview linkifier is too agressive. In the following markdown (generated by JSDoc)…

| Param | Type | Description |
| --- | --- | --- |
| [opts] | <code>Object</code> | items to update |
| [opts.name] | <code>String</code> | name of the thing |
Param Type Description
[opts] Object items to update
[opts.name] String name of the thing

… hovering over opts.name resulted in a link to http://opts.name ! Neither Github's preview, nor another processor (marked on NPM) linkify [opts.name]. Same goes for [opts.com].

Here the brackets are JSDoc for an optional parameter.

VS Code version: Code - Insiders 1.28.0-insider (caaa536, 2018-09-28T05:12:22.044Z)
OS version: Darwin x64 18.0.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.48GB free)
Process Argv gp-hpe-agent/
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
codecover bra 1.1.0
vscode-eslint dba 1.6.0
perl-syntax jac 0.0.7
dotenv mik 1.0.1
vscode-language-pack-es MS- 1.28.2
vscode-kubernetes-tools ms- 0.1.14
python ms- 2018.8.0
cpptools ms- 0.19.0
vscode-docker Pet 0.3.1
platformio-ide pla 1.3.1
java red 0.32.0
vscode-yaml red 0.0.17
vscode-java-debug vsc 0.13.0
vscode-java-pack vsc 0.4.0
vscode-java-test vsc 0.9.0
vscode-maven vsc 0.11.0

(1 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

markdownMarkdown support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions