Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #10562
Closed
Open
Issue created Feb 15, 2021 by Administrator@rootContributor

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

Created by: hamirmahal

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.

https://user-images.githubusercontent.com/43425812/107977728-6ff0bb80-6f70-11eb-937b-0e84fe795599.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/.

Assignee
Assign to
Time tracking