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

feat(支持同步块格式的目录识别): #3041

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

qixing-jk
Copy link
Contributor

尽量按此模板PR内容,或粘贴相关的ISSUE链接。

已知问题

  1. 同步块格式的目录不会被正确显示
    【文章目录消失】通过同步块引入的文章 ,无法生成目录,v4.6.1仍存在这个问题,改如何处理? #2629

解决方案

  1. 生成目录数组时,额外处理和考虑同步块情况

改动收益

  1. 更好的目录体验

具体改动

  1. getPageTableOfContents.js
  • 生成目录数组时,额外处理和考虑同步块情况

测试确认

  • 本地开发环境测试通过
  • 生产环境构建测试通过
  • 版本号正确显示
  • 环境变量配置正常工作

Copy link

vercel bot commented Dec 3, 2024

@qixing-jk is attempting to deploy a commit to the tangly1024's projects Team on Vercel.

A member of the Team first needs to authorize it.

(cherry picked from commit 079515a)

feat(支持同步块格式的目录识别): 修复额外的多余目录识别问题

(cherry picked from commit c2d8ed2)

feat(支持同步块格式的目录识别): 去除多余的判断逻辑

(cherry picked from commit bacbe55)
@qixing-jk qixing-jk force-pushed the sync_block_catalogue branch from be0c359 to 8cb2244 Compare December 4, 2024 03:26
@tangly1024 tangly1024 merged commit 0967722 into tangly1024:main Dec 21, 2024
3 of 6 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