Skip to content

docs: note custom heading IDs preserve casing#5942

Closed
mintlify-development[bot] wants to merge 1 commit into
mainfrom
mintlify/workflow-6a10edc8-3-custom-heading-ids-preserve-casi
Closed

docs: note custom heading IDs preserve casing#5942
mintlify-development[bot] wants to merge 1 commit into
mainfrom
mintlify/workflow-6a10edc8-3-custom-heading-ids-preserve-casi

Conversation

@mintlify-development
Copy link
Copy Markdown
Contributor

@mintlify-development mintlify-development Bot commented May 23, 2026

Summary

Document that custom heading IDs written with {#id} syntax now preserve casing and separators (camelCase, snake_case, kebab-case) instead of being lowercased and hyphenated.

Changes

  • create/text.mdx: Added casing preservation note and examples to the Custom heading IDs section.
  • guides/linking.mdx: Added casing note to the Custom anchor IDs section.
  • Mirrored updates in es/, fr/, and zh/ translations.

Context

Upstream fix in mintlify/mint replaces slug-style normalization of custom heading IDs with a sanitizer that preserves casing. Auto-generated heading IDs (headings without {#id}) are unchanged. This unblocks migrations from documentation platforms that rely on camelCase anchors.


Note

Low Risk
Low risk docs-only updates; changes are limited to wording/examples across translated pages and do not affect runtime behavior.

Overview
Documents that custom heading/anchor IDs provided via {#id} preserve casing and separators as written (e.g., camelCase, snake_case, kebab-case), including new examples and migration rationale.

Updates the same guidance in create/text.mdx and guides/linking.mdx, and mirrors the clarification in the es/, fr/, and zh translations; auto-generated heading IDs are explicitly noted as unchanged.

Reviewed by Cursor Bugbot for commit f946eea. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 23, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview May 23, 2026, 12:16 AM

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 23, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
testsignup415 🟢 Ready View Preview May 23, 2026, 12:16 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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