-
Notifications
You must be signed in to change notification settings - Fork 34
feat: Make heading links work (#20) #22
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
Conversation
1b7ae59
to
1e450ca
Compare
1e450ca
to
088e6a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, probably fine.
let convertedLink = layoutStrategy.getLinkPathForPage(page); | ||
|
||
// Include the fragment (# and after) if it exists | ||
const { fragmentId } = parseLinkId(url); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you don't need baseLinkId
here too, just to keep the destructuring happy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @gmartin7)
src/links.ts
line 18 at r1 (raw file):
Previously, gmartin7 (Gordon Martin) wrote…
I guess you don't need
baseLinkId
here too, just to keep the destructuring happy?
Nope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved
🎉 This PR is included in version 0.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This change is