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

[BUG] 搜索引擎显示header有误(多余符号) #3990

Closed
1 of 2 tasks
shuzhouliu opened this issue Jun 5, 2022 · 2 comments · Fixed by #4100
Closed
1 of 2 tasks

[BUG] 搜索引擎显示header有误(多余符号) #3990

shuzhouliu opened this issue Jun 5, 2022 · 2 comments · Fixed by #4100
Labels

Comments

@shuzhouliu
Copy link
Member

shuzhouliu commented Jun 5, 2022

请选择:

  • 我已经读过了 F.A.Q.,进行了搜索,但没有得到答案
  • 我正在着手修复这个问题

我遇到了这样的问题

image

如图,每个header显示会多出一个符号。

我确认这个问题可以这样复现

  1. 在bing.com搜索“OI赛事与赛制”
  2. 问题就复现了
@shuzhouliu shuzhouliu added the Other Bug / 内容无关的 Bug 内容无关的 bug label Jun 5, 2022
@welcome
Copy link

welcome bot commented Jun 5, 2022

感谢你对 OI Wiki 的关注!记得在 Issue 中表达清楚自己的意思哦~

@Cubik65536
Copy link
Contributor

Cubik65536 commented Jul 16, 2022

这似乎并非一个 bug, MkDocs Material Theme 会在标题(Markdown 的 #, ## 等)后面增加一个 符号,用于增加一个直接指向这个标题开头的 URL,而搜索引擎也会把这个符号显示出来(实际上在阅读时并非没有这个符号,而是主题通过调整颜色将这个符号 “隐藏” 了)


ref: Material for MkDocs 官方文档也会出现此现象

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants