Skip to content

fix(docs): Make copyable example useful by default - #7928

Merged
TkDodo merged 1 commit into
TanStack:mainfrom
adelowo:fix_docs
Aug 21, 2024
Merged

fix(docs): Make copyable example useful by default#7928
TkDodo merged 1 commit into
TanStack:mainfrom
adelowo:fix_docs

Conversation

@adelowo

@adelowo adelowo commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

When copying the command, the $ appears in the copied text which makes a tiny text processing required - i.e removing the prefix. Instead of being able to just paste in a terminal and get going.

This mimics the behaviour of all commands everywhere else in the docs I could find. e.g https://tanstack.com/query/latest/docs/framework/react/installation

When copying the command, the $ appears in the copied text which makes a tiny text processing required - i.e removing the prefix. Instead of being able to just paste in a terminal and get going.

This mimics the behaviour of all commands everywhere else in the docs I could find. e.g https://tanstack.com/query/latest/docs/framework/react/installation
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 20, 2024
@TkDodo
TkDodo merged commit 639363c into TanStack:main Aug 21, 2024
@adelowo
adelowo deleted the fix_docs branch August 21, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants