Skip to content

fix: format heading ids #74

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

Merged
merged 1 commit into from
Aug 11, 2025
Merged

fix: format heading ids #74

merged 1 commit into from
Aug 11, 2025

Conversation

xihale
Copy link
Member

@xihale xihale commented Aug 11, 2025

No description provided.

@xihale xihale requested a review from jiacai2050 August 11, 2025 02:23
@@ -11,7 +11,7 @@ Zig 中文社区是一个开放的组织,我们致力于推广 Zig 在中文
1. 供稿,分享自己使用 Zig 的心得,方式见下文
2. 改进 zigcc 组织下的开源项目,这是 [open issues](https://ask.ziglang.cc/github)

# [供稿方式]($section.id('contribute'))
# [供稿方式]($heading.id('contribute'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这么改写的优势是?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原来的 section 不是这样用的,现在弄成 heading 更符合这里的需求和语义。

@jiacai2050 jiacai2050 merged commit 7acbc1a into zigcc:main Aug 11, 2025
3 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