-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Enhance docs section linking #10779
Enhance docs section linking #10779
Conversation
Would this fix #10652 @IslandRhythms ? |
Request review from Valeri. The sub section linking has a PR that fixes it. I don't know if he merged it already. |
Ah, I tried to look if anything was started and could not find it can you link it ? Also I cannot request a review myself, can you do it please? |
Ah! Well sorry I have undone a bit what you did haha, I wondered why I could not reproduce the issue. At first I just wanted to extend the "link icon" range's hover but got carried away. |
…ctions Followed by a commit which will remove as much as possible "manual" links. Using marked's built-in slugify function ensures the links would not be broken. Manual links are still supported, e.g. <h3 id="order"><a href="#order">Save/Validate Hooks</a></h3> However note that this syntax doesn't work (didn't work previously either) ### [Save/Validate Hooks](#order) Also makes the CSS better: * You can hover any part of the link + the "hidden" side where the icon appears * Handles h4
cc60bc1
to
1f4e1d0
Compare
Rebased and fixed merge conflict |
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.
Great work, thanks 👍 Sorry for the delay in merging this
Using marked's built-in slugify function ensures the links would not be broken.
Manual links are still supported, e.g.
However note that this syntax doesn't work (didn't work previously either)
Also makes the CSS better:
Removes as much as possible "manual" links, but some remain (mostly HTML ones I believe, didn't want to check each one that it wouldn't break a link)