Skip to content
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

separate commands into their own code blocks on Adding TypeScript page of Create React App docs #10562

Closed
hamirmahal opened this issue Feb 15, 2021 · 1 comment

Comments

@hamirmahal
Copy link

Is your proposal related to a problem?

When copying and pasting the command to add TypeScript to either an existing Create React App project or a new one, the clipboard receives both commands and # or, instead of the desired individual command.

Screen.Recording.2021-02-15.at.9.29.18.AM.mov

Describe the solution you'd like

We can separate each command into its own code block for easier copying and pasting. I've created a fix for this in #10553. #10553 closes this if we decide to merge it.

Describe alternatives you've considered

I think this is the approach that makes things easiest for people just wanting to copy the commands.

Additional context

The page that this issue and the pull request I have open for it refers to is https://create-react-app.dev/docs/adding-typescript/.

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