-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Support TOC to automatically move position #1664
Comments
This functionality is implemented on some webpages, such as Zhihu (a Chinese Q&A website). When we open it on a mobile device, its table of contents automatically appears at the top of the page. Perhaps we can refer to similar websites to see how they achieve this. |
This conversation has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Checklist
Is your feature request related to a problem? Please describe
When I open a blog on my computer, TOC (table of content) can be displayed normally on the right side of the webpage. However, if I open a blog on my phone, TOC is not displayed. If the blog is long, it is difficult to locate the desired content.
Describe the solution you'd like
If possible, I hope that when the webpage is displayed at a small screen size, the TOC can be displayed at the head of a blog post.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: