# toc-anchor-generation_40a9269d > GitHub generates heading anchors by: 1. Lowercasing the heading text 2. Replacing spaces with `-` 3. Removing special characters 4. Stripping emojis (each emoji leaves a `-` in its place) 5. Appending `-N` suffix for duplicate anchors (where N = 1, 2, 3...) - Author: SkillFlow - Repository: tools-only/X-Skills - Version: 20260202191322 - Stars: 2 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/tools-only/X-Skills - Web: https://mule.run/skillshub/@@tools-only/X-Skills~toc-anchor-generation_40a9269d:20260202191322 --- # TOC Anchor Generation | Property | Value | |----------|-------| | **Name** | TOC Anchor Generation | | **Repository** | [hesreallyhim/awesome-claude-code](https://raw.githubusercontent.com/hesreallyhim/awesome-claude-code/main/docs/development/toc-anchor-generation.md) (🔥 22.5k) | | **Original Path** | `docs/development/toc-anchor-generation.md` | | **Category** | development | | **Subcategory** | tools | | **Tags** | development | | **Created** | 2026-01-09 | | **Updated** | 2026-01-09 | | **File Hash** | `40a9269d0813b8aa...` | ## Description GitHub generates heading anchors by: 1. Lowercasing the heading text 2. Replacing spaces with 3. Removing special characters 4. Stripping emojis (each emoji leaves a in its place) 5. Appending N suffix for duplicate anchors (where N = 1, 2, 3...) **Tags:** `development` --- *This skill is maintained by [SkillFlow](https://github.com/tools-only/SkillFlow)* *Source: [hesreallyhim/awesome-claude-code](https://raw.githubusercontent.com/hesreallyhim/awesome-claude-code/main/docs/development/toc-anchor-generation.md)*