Replies: 1 comment 6 replies
-
It's currently not supported on mobile, but something we want to implement at some point. This is a surprisingly complicated problem, especially since we moved away from EPUB CFIs which were inherently sortable. A quick and dirty way to implement this could be to inject a JavaScript in the HTML resources observing whether any of the table of contents items become visible thanks to an Intersection Observer. @danielweck I see that you support this feature in Thorium, would you mind chiming in on the technique you used? Thanks! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I will try to highlight the current
toc
link item so the users could see where they are when they open the TOC page.What will be correct way of knowing fx. the
"href": "0002-part.xhtml#d23"
link should be highlighted?Beta Was this translation helpful? Give feedback.
All reactions