Skip to content

Pass regex match as prop to annotations #434

Open
@C-Loftus

Description

@C-Loftus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions