Repository navigation
fix: clean up Spec/slide headings and enable strikethrough syntax - #123
Merged
taoky merged 3 commits intoDec 1, 2026
Merged
Conversation
taoky
approved these changes
Dec 1, 2026
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.
修复两处页面渲染与排版问题:
清理
docs/Spec/slide.md的标题层级与重复编号mkdocs-material==9.8.2+ustclug.1的自动标题编号后,原## 1. 文件格式~## 4. 制作与发布会出现1 1. 文件格式的双重编号,跳过h3使用的#### (a)条文也会被编出异常序号并挤满右侧目录。##标题的手写序号,交由主题自动编号与正文§1~§4对应;将 16 处#### (a)~#### (e)条文改为正文段落**(a)**~**(e)**;移除顶部不再需要的MD026、MD001markdownlint-disable注释。在
mkdocs.yml中启用pymdownx.tilde支持删除线docs/Appendix/markdown.md中的~~这是加删除线~~示例因未启用删除线扩展,在线上渲染为原始文本。markdown_extensions中启用pymdownx.tilde并设置subscript: false(避免 Linux 路径或数值范围里的单~被误解析为下标);已排查全站非代码块正文,无额外~~误伤。mkdocs serve本地预览确认/Spec/slide/编号与排版、/Appendix/markdown/删除线效果均正常。markdownlint(按.markdownlint.jsonc)校验通过。问题排查、修改与本地验证使用了 Google Antigravity(Gemini 模型)辅助,所有改动均已人工核对并在本地浏览器确认效果。