Skip to content

Fix ToC link parsing and truncation #471

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

Merged
merged 1 commit into from
Jun 4, 2025

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