Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jun 17, 2022

Summary

Lightweight version of #2464, see that request for full discussion.

This implements the anchors needed for inter-page links as well as clickable
anchor links.

@susnux
Copy link
Contributor Author

susnux commented Jun 21, 2022

Rebased onto the current master

@juliusknorr juliusknorr added enhancement New feature or request 3. to review labels Jul 4, 2022
@juliusknorr juliusknorr requested review from a team, Raudius, juliusknorr, max-nextcloud and vinicius73 and removed request for a team and Raudius July 4, 2022 10:52
@susnux susnux mentioned this pull request Jul 9, 2022
susnux added 3 commits August 24, 2022 12:41
Implements the anchors needed for inter-page links, closes #2173.
IDs are generated using a similar slugify function github and
gitlab use.
For initial content markdownit-anchor is used.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Using ProseMirror view decorations to display visible
anchor links on headings.
Fix handling of inter-page links

Scroll to selected header when clicking on the anchor link

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux
Copy link
Contributor Author

susnux commented Aug 26, 2022

Closing this in favor of #2841

(As most parts are already resolved by the outline view, also this PR's origin is my personal fork so CI tasks are not possible)

@susnux susnux closed this Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature-request: inter-page links Links to sections?

3 participants