Href linking #2342

Closed
opened 2026-02-05 03:44:18 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @Adrian-at-CrimsonAzure on GitHub (Aug 3, 2021).

Describe the feature you'd like
To link to specific parts of the page using headers. Like how Wikipedia allows linking to a specific part:
https://en.wikipedia.org/wiki/Bubonic_plague#Diagnosis

Describe the benefits this feature would bring to BookStack users
Could link to specific sections of internal wikis. Also a prerequisite for tables of contents inside a large page.

Originally created by @Adrian-at-CrimsonAzure on GitHub (Aug 3, 2021). **Describe the feature you'd like** To link to specific parts of the page using headers. Like how Wikipedia allows linking to a specific part: https://en.wikipedia.org/wiki/Bubonic_plague#Diagnosis **Describe the benefits this feature would bring to BookStack users** Could link to specific sections of internal wikis. Also a prerequisite for tables of contents inside a large page.
Author
Owner

@ssddanbrown commented on GitHub (Aug 3, 2021):

Hi @Adrian-at-CrimsonAuzre,
Each section is given a unique ID on save based on content, and when viewing a page highlighting text within a section should show a helper to provide a link to that section. See the gif on this page: https://www.bookstackapp.com/docs/user/content-permalinks/

@ssddanbrown commented on GitHub (Aug 3, 2021): Hi @Adrian-at-CrimsonAuzre, Each section is given a unique ID on save based on content, and when viewing a page highlighting text within a section should show a helper to provide a link to that section. See the gif on this page: https://www.bookstackapp.com/docs/user/content-permalinks/
Author
Owner

@Adrian-at-CrimsonAzure commented on GitHub (Aug 3, 2021):

No idea how I didn't notice that. While I'm at it is there any way to embed an automatic table of contents? That's what my goal really is.

@Adrian-at-CrimsonAzure commented on GitHub (Aug 3, 2021): No idea how I didn't notice that. While I'm at it is there any way to embed an automatic table of contents? That's what my goal really is.
Author
Owner

@ssddanbrown commented on GitHub (Aug 3, 2021):

@Adrian-at-CrimsonAuzre Not really I'm afraid, since it would run double-duty with the auto-generated one in the top-right left when viewing a page.

@ssddanbrown commented on GitHub (Aug 3, 2021): @Adrian-at-CrimsonAuzre Not really I'm afraid, since it would run double-duty with the auto-generated one in the top-~right~ left when viewing a page.
Author
Owner

@Adrian-at-CrimsonAzure commented on GitHub (Aug 3, 2021):

I meant more like the one you see on Wikipedia or can set in word. Where the level of header defines parent/child relationships within the page. If there isn't anything built in I was going to just use the text links to the headers within the page and have a info callout or something and manually link to them.

@Adrian-at-CrimsonAzure commented on GitHub (Aug 3, 2021): I meant more like the one you see on Wikipedia or can set in word. Where the level of header defines parent/child relationships within the page. If there isn't anything built in I was going to just use the text links to the headers within the page and have a info callout or something and manually link to them.
Author
Owner

@ssddanbrown commented on GitHub (Aug 3, 2021):

@Adrian-at-CrimsonAuzre Nothing built-in other than the mentioned auto-generated one. That one does indent depending on header level though, relative to largest header used within the document.

@ssddanbrown commented on GitHub (Aug 3, 2021): @Adrian-at-CrimsonAuzre Nothing built-in other than the mentioned auto-generated one. That one does indent depending on header level though, relative to largest header used within the document.
Author
Owner

@Adrian-at-CrimsonAzure commented on GitHub (Aug 3, 2021):

Ah, is there any way I can print the outline?

@Adrian-at-CrimsonAzure commented on GitHub (Aug 3, 2021): Ah, is there any way I can print the outline?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2342