Codex Mpx Markdown Anchors for Chinese Headings
Assign short semantic English anchors to Chinese headings in Mpx Markdown and verify that the anchors are unique on the page.
中文Install in Codex
Open the Markdown document in Codex. It must use Mpx anchor syntax. Include the heading and anchors already on the page.
- Review `.agents/skills/doc-add-simple-hash/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/doc-add-simple-hash/` in your project and save the reviewed file as `.agents/skills/doc-add-simple-hash/SKILL.md`.
- Start Codex from that project's root, then type `$doc-add-simple-hash` and select the matching skill.
Example task
Assign an English anchor to the heading for form validation rules while retaining the existing anchor.
{"headingType":"Chinese","existingAnchor":"form-validation","suggestedMeaning":"form validation rules"}What to check
Use `form-validation-rules` for the new heading in `{#form-validation-rules}` and preserve the existing `form-validation` anchor.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I reuse an anchor on two headings in one document?
Keep anchors unique within the page. Preserve the existing anchor and choose a different short name based on the new heading.