Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elitalpa opened this issue Feb 16, 2025 · 1 comment

Comments

@elitalpa
Copy link
Contributor

elitalpa commented Feb 16, 2025

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)

@rickhanlonii
Copy link
Member

Fixed by #7624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants