Repository navigation
Conversation
目录抽屉右上角加一个图钉。固定后目录留在左边不收起,点目录项、按 Esc 都不会关, 正文在右边剩下的空间居中;旁边放不下边注时边注收进正文的小数字。 窄屏(<1180px)照旧是浮出的抽屉;偏好记在 prefs.tocPin,回到宽屏自动固定回来。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Owner
|
谢谢你把章节高亮、边注和窄屏布局都考虑进来。v1.5 会沿用按 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
目录抽屉右上角加一个图钉。固定后:
side-open/no-margin的做法,加了toc-tight)prefs.tocPin,回到宽屏自动固定回来为什么
读长论文时经常要看自己在全文的哪个位置、下一节是什么,每次开抽屉再关很打断。固定住之后像一本书的侧边目录。
验证
node --test tests/web/test_*.cjs273 全过python scripts/i18n_check.py缺英文 0、没套的中文 0(en / zh-Hant 各加两条)🤖 Generated with Claude Code