Comments (5)
Hey, @mrdulin. That's a great suggestion!
We should either ignore leading $
in the copy function or do not include the dollar sign at all in the docs. I think that ignoring the leading dollar sign is a slightly better approach, as it's often used to indicate a shell command.
Would you be interested in contributing to help us fix that?
The issue can be fixed in the react-cdx
package by transforming the normalizedCode
to remove the leading dollar sign here:
from mswjs.io.
I think it would be better to remove the dollar sign from the docs.
from mswjs.io.
I think this issue can be closed @kettanaito
from mswjs.io.
Hi, @hubgit. That's also a viable option. I don't mind either as the solution to this. Would you be interested in making a pull request to our website repository that removes $
from all bash commands?
from mswjs.io.
Thanks for double-checking on this, @aminamos! 🎉
from mswjs.io.
Related Issues (20)
- Missing page at "/404/" (GraphQL operation) HOT 3
- Error in onUnhandledRequest example? HOT 1
- Alternative Jest setup for when Request/Response/TextEncoder is not defined HOT 6
- Broken link in doco HOT 2
- Missing `bypass` description in listen() page. HOT 1
- TypeScript error when using async resolver predicates HOT 1
- Feedback: Using local HTTPS HOT 1
- Missing page at "/404/" https://mswjs.io/docs/api/setup-worker/print-handlers HOT 1
- Document how "cy.route()" works HOT 1
- Missing page at "/404/" HOT 2
- Cannot retrieve XMLHttpRequest HOT 1
- Missing page at "/404/" HOT 1
- React Native integration error index.js HOT 2
- MSW AND AXIOS DO NOT WORK TOGETHER IN REACT NATIVE
- Documentation missing on how to integrate with Expo App Router HOT 2
- Issues integrating with React Native and pnpm HOT 1
- MSW loading in react native is not happening HOT 8
- Ads can be confusing
- Fix dead link for Typescript
- This lib breaks storybook with wp5 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mswjs.io.