Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links that start with @ are treated as citations even if they're not #1618

Open
choldgraf opened this issue Nov 2, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@choldgraf
Copy link
Collaborator

It seems that the citation auto-detection is a bit overzealous sometimes. I noticed that adding a link to somebody's handle, like this:

[@rowanc1](https://github.com/rowanc1)

Will result in build warnings like this:

⚠️  index.md:13:2 Could not link citation with label "rowanc1".
@choldgraf choldgraf added the bug Something isn't working label Nov 2, 2024
@agoose77
Copy link
Contributor

agoose77 commented Nov 5, 2024

I think this should be handled by escaping explicitly, i.e. \@rowanc1, as we're treating @ as a special character now. We could definitely extend the escaping logic, but I think treating it as special is probably the easiest to reason about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants