Skip to content

[Bug]: Anchor # for titles in <Steps> overlaps with the sequence number #1527

@i-richardwang

Description

@i-richardwang

Version

System:
OS: macOS 15.0.1
CPU: (10) arm64 Apple M1 Pro
Memory: 213.81 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Browsers:
Chrome: 130.0.6723.58
npmPackages:
rspress: ^1.34.1 => 1.34.1

Details

Anchor # for titles in overlaps with the sequence number

Image

Reproduce link

None

Reproduce Steps

import { Steps } from '@theme';

<Steps>

### Title1

1. node1
2. node2
3. node3

</Steps>

Metadata

Metadata

Assignees

No one assigned

    Labels

    mdx🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions