Skip to content

Commit 36db5e2

Browse files
fix: Various invalid codeblock language identifiers (#6742)
1 parent 460d43a commit 36db5e2

File tree

20 files changed

+44
-44
lines changed

20 files changed

+44
-44
lines changed

src/docs/contributing/pages/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Documentation is written in Markdown (via Remark) and MDX.
1414

1515
MDX has its flaws. When rendering components, any text inside of them is treated as raw text (_not_ markdown). To work around this you can use the `` tag, but it also has its issues. Generally speaking, put an empty line after the opening tag, and before the closing tag.
1616

17-
```Incorrect
17+
```plain {tabTitle:Incorrect}
1818
<Note>
1919
Don't do this as parsing will hit weird breakages
2020
</Note>
2121
```
2222

23-
```Correct
23+
```plain {tabTitle:Correct}
2424
<Note>
2525
2626
Do this

src/docs/product/security/ip-ranges.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ location ~ ^/static/dist/(.+)\.map$ {
7373

7474
To allow access to source maps with Apache you can use this example. It can either go into your _.htaccess_ or global config. This example assumes your source maps live in `/static/dist`:
7575

76-
```apache
76+
```apacheconf
7777
<FilesMatch "\.map$">
7878
Order deny,allow
7979
Deny from all

src/docs/product/sentry-basics/integrate-frontend/upload-source-maps.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Now we can invoke the `sentry-cli` to let Sentry know we have a new release, and
9797

9898
3. Replace the existing `setup_release` with:
9999

100-
```Shell
100+
```shell
101101
setup_release: create_release upload_sourcemaps
102102
```
103103

@@ -124,7 +124,7 @@ Now we can invoke the `sentry-cli` to let Sentry know we have a new release, and
124124

125125
2. Build, deploy, and rerun the project by running:
126126

127-
```Node
127+
```
128128
> npm run deploy
129129
```
130130

src/platform-includes/getting-started-install/react-native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ If you wish to install Sentry's React Native SDK v4, follow the steps [here](/pl
66

77
Run `@sentry/wizard`:
88

9-
```npm
9+
```bash {tabTitle:npm}
1010
npx @sentry/wizard -s -i reactNative
1111
```
1212

src/platform-includes/session-replay/install/javascript.capacitor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
yarn add @sentry/capacitor @sentry/replay
33
```
44

5-
```html {tabTitle: NPM}
5+
```html {tabTitle: npm}
66
npm install --save @sentry/capacitor @sentry/replay
77
```

src/platform-includes/session-replay/install/javascript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The Replay integration is **already included** in your browser or framework SDK NPM packages. If you're using CDN bundles instead of NPM packages, you need to load the Replay integration CDN bundle in addition to your browser bundle:
22

3-
```bash {tabTitle: NPM}
3+
```bash {tabTitle: npm}
44
# Make sure to have @sentry/browser or a Framework SDK (e.g. @sentry/react) installed
55
npm install --save @sentry/browser
66
```

src/platform-includes/sourcemaps/overview/javascript.remix.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ export SENTRY_PROJECT=___PROJECT_SLUG___
3939

4040
Next, run the upload script with the following command:
4141

42-
```yarn
42+
```bash {tabTitle:Yarn}
4343
yarn sentry-upload-sourcemaps
4444

4545
# For usage details run
4646
yarn sentry-upload-sourcemaps --help
4747
```
4848

49-
```npm
49+
```bash {tabTitle:npm}
5050
node ./node_modules/@sentry/remix/scripts/sentry-upload-sourcemaps.js
5151

5252
# For usage details run

src/platform-includes/sourcemaps/overview/javascript.svelte.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ export default config;
2121

2222
If you're using Vite in you Svelte project, you can use Sentry's Vite plugin for convenience:
2323

24-
```npm
24+
```bash {tabTitle:npm}
2525
npm install @sentry/vite-plugin --save-dev
2626
```
2727

28-
```yarn
28+
```bash {tabTitle:Yarn}
2929
yarn add @sentry/vite-plugin --dev
3030
```
3131

src/platform-includes/sourcemaps/overview/javascript.vue.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ You can use the Sentry Vite plugin to automatically create [releases](/product/r
55

66
### Installation
77

8-
```npm
8+
```bash {tabTitle:npm}
99
npm install @sentry/vite-plugin --save-dev
1010
```
1111

12-
```yarn
12+
```bash {tabTitle:Yarn}
1313
yarn add @sentry/vite-plugin --dev
1414
```
1515

src/platform-includes/sourcemaps/upload/esbuild/javascript.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ You can use the Sentry esbuild plugin to automatically create releases and uploa
22

33
## Install
44

5-
```npm
5+
```bash {tabTitle:npm}
66
npm install @sentry/esbuild-plugin --save-dev
77
```
88

9-
```yarn
9+
```bash {tabTitle:Yarn}
1010
yarn add @sentry/esbuild-plugin --dev
1111
```
1212

0 commit comments

Comments
 (0)