Uh oh!
There was an error while loading. Please reload this page.
feat: replace links in markdown instead of via javascript - #1339
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
0dc35ee to
e30cb04CompareNote Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughUpdated Readme.vue to ignore clicks with modifier keys or non-primary buttons, expanded anchor handling to treat both hash ( Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Ooopsie daisy
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Savelyev <91429106+alexdln@users.noreply.github.com>
alexdln
commented
Feb 10, 2026
@essenmitsosse Just remembered one more weird behavior with this "new tab" markers ![]() |
@essenmitsosse It seems that if you specify for |
essenmitsosse
commented
Feb 10, 2026
@alexdln can't make it inline because, then the icon does not work. I don't think there is a robust solution that doesn't make the problem worse then it currently is. |
alexdln
commented
Feb 10, 2026
@essenmitsosse Have you checked by adding |
alexdln
commented
Feb 10, 2026
the JS handler will still be needed for client-side navigation, which will be more performant, but you can update it to check if window.location is the same as the href origin. |
essenmitsosse
commented
Feb 10, 2026
@danielroe what do you mean by that? Why do we need a JS handler for client side navigation? |
danielroe
commented
Feb 10, 2026
because nuxt doesn't listen to clicks on |
essenmitsosse
commented
Feb 10, 2026
|
essenmitsosse
commented
Feb 10, 2026
Aw shucks! |
Co-authored-by: Alex Savelyev <91429106+alexdln@users.noreply.github.com>
alexdln
commented
Feb 10, 2026
No sorcery, just uno adds a mask with icon under the current container. And since you had an inline with no content, its width was 0. So you just needed to increase the width. You can't use width for an inline, but you can use content that won't be visible and preferably won't interfere with the mask and not wrapping |
essenmitsosse
commented
Feb 10, 2026
If that is not sorcery, what is then. 😂 But glad it works! |
Co-authored-by: Daniel Roe <daniel@roe.dev>
essenmitsosse
commented
Feb 10, 2026
I also added a check for modifier keys, so |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Daniel Roe <daniel@roe.dev>


Currently all links in the readme are intercepted via JavaScript and if they go to npmjs.com redirected to npmx.dev. This has several problems, most of which stem from the fact, that the link in the URL is not the link we are going to.
This PR:
and removes the JavaScript handler(JavaScript handler is still needed for code copy button)Good example readme: /package/is-odd