You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
There's a feature missing where the regex match is passed to the annotation, in the case of links the match then becomes the href. I have that on my todo list.
Activity
pomber commentedon Aug 29, 2024
You are right, thanks.
There's a feature missing where the regex match is passed to the annotation, in the case of links the match then becomes the
href. I have that on my todo list.[-]Regexs links link to the same page, not the link it matches[/-][+]Pass regex match as prop to annotations[/+]