SidOfc / mkdx

A vim plugin that adds some nice extra's for working with markdown documents
https://www.vim.org/scripts/script.php?script_id=5620
MIT License
484 stars 13 forks source link

Jump to header functionality stopped working with inline fragment links #165

Closed lyndhurst closed 2 years ago

lyndhurst commented 2 years ago

Hi,

I found out a few days ago that mkdx-jump-to-header stopped working on my computer with markdown inline links.

It is still working with 'wiki links' so I am wondering if it is related to #162 .

It would be helpful to know if you can reproduce it, Thanks in advance.

SidOfc commented 2 years ago

Hi @lyndhurst, indeed I can reproduce, might have been testing the "live" version of mkdx while I was working on #162 🤦

Will check it out, cheers 👍

SidOfc commented 2 years ago

All of the following should now work:

# hello world

Can I still jump to [markdown-link](#hello-world).
And to [[#hello-world|wiki-link]]
<a href="#hello-world">href-link</a>
<a id="hello-world">id-link</a>

Leaving this open for you to confirm as usual, thanks again for the report in the meantime 👍

lyndhurst commented 2 years ago

Yes, working again :+1: Thank you for fixing it so quickly.

SidOfc commented 2 years ago

No problem, happy Vimming!