Markdown-preview-enhanced: Clicking on relative link with anchor opens file incorrectly

Created on 27 Jan 2017  ·  6Comments  ·  Source: shd101wyy/markdown-preview-enhanced

On linux (ubuntu), clicking on link with anchor opens in editor file with name link.md#anchor instead of opening file link.md and navigating to #anchor

All 6 comments

Hi @metheoryt , thanks for your reply,

I will fix this issue this weekend.

Thank :)

I think the problem is from this line.
I will test it when I have time.

Thanks for fast reply, waiting for fix! =)

This issue is now partially fixed. Clicking the link will open the correct file. However, it will not jump to the anchor because it is too hard for me to implement.

Came here because I ran into this issue. Glad to know it will work when I push to Github. Would be nice to highlight this issue in docs. Maybe a "known issues" section?

Same. Just ran into it. Works in PDF, works in HTML, but just not on-screen. ¯\_(ツ)_/¯

Was this page helpful?
0 / 5 - 0 ratings