diff --git a/docs/_getting-started-macos-ios.md b/docs/_getting-started-macos-ios.md index 8974857a57c..c68519ad7bc 100644 --- a/docs/_getting-started-macos-ios.md +++ b/docs/_getting-started-macos-ios.md @@ -91,7 +91,7 @@ On top of this, it's possible to add any other environment variable and to sourc :::info If you are already using [NVM](http://nvm.sh/) (a command which helps you install and switch between versions of Node.js) and [zsh](https://ohmyz.sh/), you might want to move the code that initialize NVM from your `~/.zshrc` into a `~/.zshenv` file to help Xcode find your Node executable: -``` +```zsh export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm ``` diff --git a/docs/_integration-with-existing-apps-java.md b/docs/_integration-with-existing-apps-java.md index 76273cdff1c..77141360bb6 100644 --- a/docs/_integration-with-existing-apps-java.md +++ b/docs/_integration-with-existing-apps-java.md @@ -41,7 +41,7 @@ $ yarn add react-native This will print a message similar to the following (scroll up in the yarn output to see it): -> warning "react-native@0.70.5" has unmet peer dependency "react@18.1.0" +> warning "`react-native@0.70.5`" has unmet peer dependency "`react@18.1.0`" This is OK, it means we also need to install React: diff --git a/docs/_integration-with-existing-apps-kotlin.md b/docs/_integration-with-existing-apps-kotlin.md index f0187aa8c43..be098436864 100644 --- a/docs/_integration-with-existing-apps-kotlin.md +++ b/docs/_integration-with-existing-apps-kotlin.md @@ -41,7 +41,7 @@ $ yarn add react-native This will print a message similar to the following (scroll up in the yarn output to see it): -> warning "react-native@0.70.5" has unmet peer dependency "react@18.1.0" +> warning "`react-native@0.70.5`" has unmet peer dependency "`react@18.1.0`" This is OK, it means we also need to install React: diff --git a/docs/_integration-with-existing-apps-objc.md b/docs/_integration-with-existing-apps-objc.md index 2545e5ba2b2..8365a9d0c43 100644 --- a/docs/_integration-with-existing-apps-objc.md +++ b/docs/_integration-with-existing-apps-objc.md @@ -58,7 +58,7 @@ yarn add react-native This will print a message similar to the following (scroll up in the yarn output to see it): -> warning "react-native@0.52.2" has unmet peer dependency "react@16.2.0". +> warning "`react-native@0.52.2`" has unmet peer dependency "`react@16.2.0`". This is OK, it means we also need to install React: diff --git a/docs/_integration-with-existing-apps-swift.md b/docs/_integration-with-existing-apps-swift.md index ffcca44eb0c..d1c979339ca 100644 --- a/docs/_integration-with-existing-apps-swift.md +++ b/docs/_integration-with-existing-apps-swift.md @@ -43,7 +43,7 @@ $ yarn add react-native This will print a message similar to the following (scroll up in the yarn output to see it): -> warning "react-native@0.52.2" has unmet peer dependency "react@16.2.0". +> warning "`react-native@0.52.2`" has unmet peer dependency "`react@16.2.0`". This is OK, it means we also need to install React: