atom / markdown-preview

📝 Markdown preview in Atom
MIT License
1.23k stars 357 forks source link

Link internal to file [hi] (#title) doesn't work #586

Closed girardinj closed 3 years ago

girardinj commented 3 years ago

Prerequisites

Description

When using an external link (like [hi] (http://google.ch) all's good but when using an internal link to a title [title] (#title_name) nothing happens

Steps to Reproduce

  1. Write a title
  2. Write a link to this title
  3. Click on the link

Expected behavior:

The markdown preview should scroll to the title

Actual behavior:

Nothing happens

Reproduces how often:

Always

Versions

apm 2.5.2 npm 6.14.8 node 12.4.0 x64 atom 1.52.0 python 3.8.6rc1 git visual studio

Atom : 1.52.0 Electron: 6.1.12 Chrome : 76.0.3809.146 Node : 12.4.0

Windows 10 Education version 1903

Additional Information

none