codehike icon indicating copy to clipboard operation
codehike copied to clipboard

Regexs links link to the same page, not the link it matches

Open C-Loftus opened this issue 1 year ago • 1 comments

Thank you for your work on codehike. Just tried out v1 and it is great with Docusaurus.

I am running into an issue with link annotations. https://codehike.org/docs/code/link mentions we can use regexes for links. However, the links that match end up linking to the same page. This occurs on the example in the docs.

I wasn't sure if there is additional syntax but could not find it elsewhere. Happy to submit a PR to the docs if this is something I am missing.

Here I hover over the github link but the link shows it linking to the same site

image

Reproduced this myself locally as well. image

C-Loftus avatar Aug 29 '24 13:08 C-Loftus