Skip to content

[Bug]: Can't copy the right command from the command block | double dashes -- gets merged into a single dash - #7616

Closed
@elitalpa

Description

@elitalpa

Summary

When I try to copy a command, the double dashes -- get merged into a single dash -.

Command Block :

Image

When I copy the command :

Image

Page

https://react.dev/learn/building-a-react-framework#step-1-install-a-build-tool

Details

The command is correctly written in the markdown file :
Image

Note that the issue seems to be with how MDX gets processed and not the <TerminalBlock> component directly.

Found this bug while fixing the issue #7614 with the PR #7615 (wrong Vite command)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions