Skip to content

添加对文本片段(Text Fragment)链接的跳转支持#235

Merged
KKRainbow merged 2 commits intoEasyTier:mainfrom
rinnein:support-text-fragment
Feb 2, 2026
Merged

添加对文本片段(Text Fragment)链接的跳转支持#235
KKRainbow merged 2 commits intoEasyTier:mainfrom
rinnein:support-text-fragment

Conversation

@rinnein
Copy link
Contributor

@rinnein rinnein commented Feb 1, 2026

vitepress貌似对文本片段的支持不大行,这里补全了实现

添加后,可以在外部链接跳转时,浏览器自动跳转到更准确的地方

如:

  • 文档内链接直接跳转到 配置说明 页面的指定处,便于阅读相关内容
  • 搜索引擎打开页面会自动附上文本片段参数,便于搜索进入文档后直接跳转到相关部分

@vercel
Copy link

vercel bot commented Feb 1, 2026

@rinnein is attempting to deploy a commit to the EasyTier Team on Vercel.

A member of the Team first needs to authorize it.

@KKRainbow KKRainbow merged commit e3368f7 into EasyTier:main Feb 2, 2026
1 of 2 checks passed
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