Uh oh!
There was an error while loading. Please reload this page.
Show anchor links for each heading - #433
Conversation
yamgent
commented
Sep 20, 2018
This seems kind of troublesome if there's a lot of such pages (if not all) in the website though (slightly similar to #389). Was wondering whether we should add a default option in |
yamgent
commented
Sep 20, 2018
Design in the example gif looks fine actually. 👍 |
damithc
commented
Sep 20, 2018
Maybe no need for this to be configurable? i.e., we do it by default for all headings |
yamgent
commented
Sep 20, 2018
That sounds good too. |
Updated to solve merge conflict and automatically add anchors |
yamgent
left a comment
There was a problem hiding this comment.
Tested the feature, works fine 👍.
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.
Uh oh!
There was an error while loading. Please reload this page.
jamos-tay
commented
Sep 25, 2018
Updated |
Uh oh!
There was an error while loading. Please reload this page.
What is the purpose of this pull request? (put "X" next to an item, remove the rest)
• [X] New feature
Fixes#426
What is the rationale for this request?
Users may want to share a link to a specific heading with others.
What changes did you make? (Give an overview)
Allow users to automatically generate anchor links for each heading that direct the URL to that heading.
Provide some example code that this change will affect:
Users must include an
anchorsproperty in thefrontmatter:anchors: trueFunctions similar to https://developers.timekit.io/v2/reference#section-root-endpoint-versions-and-protocol
Is there anything you'd like reviewers to focus on?
Should we make the behavior different from the example site (e.g. change the icon)?