diff --git a/create/text.mdx b/create/text.mdx index 2e6ed180c..d2c824ac4 100644 --- a/create/text.mdx +++ b/create/text.mdx @@ -29,16 +29,13 @@ By default, anchor IDs are generated automatically from header text. You can ove ```mdx ## My section {#my-custom-anchor} ### Configuration options {#config} +##### Deep detail {#detail} ``` The custom ID replaces the auto-generated anchor, so you can link to the heading with `#my-custom-anchor` or `#config` instead of the default slugified text. This is useful when you want stable anchor links that don't change if you update the heading text, or when you need shorter, more memorable anchors. - - Custom heading IDs are supported on heading levels 1 through 4 (`#` to `####`). Levels 5 and 6 are not supported. - - ### Disabling anchor links By default, headers include clickable anchor links that allow users to link directly to specific sections. You can disable these anchor links using the `noAnchor` prop in HTML or React headers.