Skip to content
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

如何实现目录滚动效果 #47

Open
xiaohuang888 opened this issue Jun 25, 2020 · 1 comment
Open

如何实现目录滚动效果 #47

xiaohuang888 opened this issue Jun 25, 2020 · 1 comment

Comments

@xiaohuang888
Copy link

您好

定位文章目录的时候如何实现滚动动画

@ocsxxi
Copy link
Contributor

ocsxxi commented Nov 17, 2020

我们这里是直接使用锚连接的,如果你需要实现滚动动画,可以自行进行修改

hexo-theme-hipaper / layout / _partial / article.ejs

中的在<!-- Table of Contents -->之后的代码部分。


如果你认为加入滚动动画是一个很好的点子,那你可以告诉我们,我们在后期可能会将这个点加入至项目中。

我们也欢迎你作为contributor,完成此部分功能的实现并合并至我们的主题中。

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

No branches or pull requests

2 participants