Skip to content

Fix ToC link parsing and truncation#471

Merged
jkelleyrtp merged 1 commit intoDioxusLabs:mainfrom
juls0730:fix-toc-links
Jun 4, 2025
Merged

Fix ToC link parsing and truncation#471
jkelleyrtp merged 1 commit intoDioxusLabs:mainfrom
juls0730:fix-toc-links

Conversation

@juls0730
Copy link
Contributor

@juls0730 juls0730 commented Mar 28, 2025

This pull request fixes the ToC link parsing. This prevents ToC links pointing to headers incorrectly as described in #466 it also fixes headers being truncated for example on https://dioxuslabs.com/blog/release-060 this fixes all ToC links as far as I can tell.

Old ToC (specifically on pages with many sections), you cannot scroll to see all of the sections, and many of the sections titles are incorrectly truncated:
old

New ToC:
new

@jkelleyrtp jkelleyrtp merged commit 0843b25 into DioxusLabs:main Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants