@@ -163,7 +161,6 @@ php artisan config:publish sentry/sentry-laravel
Add your DSN to `config/sentry.php`:
-
```php
```php
```php
'dsn' => '___PUBLIC_DSN___',
@@ -334,7 +329,6 @@ Defaults to `true`.
Monolog supports Sentry out of the box, so you’ll just need to configure a handler:
-
```php
$client = new Raven_Client('___PUBLIC_DSN___');
@@ -373,7 +367,6 @@ $monolog->pushProcessor(function ($record) {
Sentry provides a breadcrumb handler to automatically send logs along as crumbs:
-
```php
$client = new Raven_Client('___PUBLIC_DSN___');
@@ -422,7 +415,6 @@ public function registerBundles()
Add your DSN to `app/config/config.yml`:
-
```yaml
sentry:
diff --git a/docs/platforms/php/legacy-sdk/usage.mdx b/docs/platforms/php/legacy-sdk/usage.mdx
index 2446db3c84fa2..64f9d84e1df1c 100644
--- a/docs/platforms/php/legacy-sdk/usage.mdx
+++ b/docs/platforms/php/legacy-sdk/usage.mdx
@@ -20,7 +20,6 @@ Using Sentry with PHP is straightforward. After installation of the library you
The most important part is the creation of the raven client. Create it once and reference it from anywhere you want to interface with Sentry:
-
```php
$sentryClient = new Raven_Client('___PUBLIC_DSN___');
@@ -173,7 +172,6 @@ $sentryClient->getLastEventID();
To enable user feedback for crash reports, you will need to create an error handler which is aware of the last event ID.
-
```php
```html
@@ -279,7 +276,6 @@ if (!$my_file) {
The PHP client includes a simple helper script to test your connection and credentials with the Sentry master server:
-
```bash
bin/sentry test ___PUBLIC_DSN___
diff --git a/docs/platforms/python/index.mdx b/docs/platforms/python/index.mdx
index 1d9c2970b4293..16785f9a8394c 100644
--- a/docs/platforms/python/index.mdx
+++ b/docs/platforms/python/index.mdx
@@ -36,7 +36,6 @@ pip install --upgrade sentry-sdk
Configuration should happen as early as possible in your application's lifecycle.
-
```python {"onboardingOptions": {"performance": "5-7", "profiling": "8-11"}}
diff --git a/docs/platforms/python/integrations/airflow/index.mdx b/docs/platforms/python/integrations/airflow/index.mdx
index 48e93306c7fdd..d1286882c23a2 100644
--- a/docs/platforms/python/integrations/airflow/index.mdx
+++ b/docs/platforms/python/integrations/airflow/index.mdx
@@ -15,7 +15,6 @@ pip install 'apache-airflow[sentry]'
Then, add your Sentry DSN to your configuration file (ex. `airflow.cfg`) under the `[sentry]` field.
-
```ini {filename:airflow.cfg}
[sentry]
diff --git a/docs/platforms/python/integrations/asgi/index.mdx b/docs/platforms/python/integrations/asgi/index.mdx
index 6e5b15e36f7fd..2ca7e8dad2910 100644
--- a/docs/platforms/python/integrations/asgi/index.mdx
+++ b/docs/platforms/python/integrations/asgi/index.mdx
@@ -19,7 +19,6 @@ pip install --upgrade 'sentry-sdk'
## Configure
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/asyncio/index.mdx b/docs/platforms/python/integrations/asyncio/index.mdx
index 3df6b799bc3fc..ce26b64093ff3 100644
--- a/docs/platforms/python/integrations/asyncio/index.mdx
+++ b/docs/platforms/python/integrations/asyncio/index.mdx
@@ -15,7 +15,6 @@ pip install --upgrade 'sentry-sdk'
Add `AsyncioIntegration()` to your list of `integrations`, enable tracing and be sure to call `sentry_sdk.init()` at the beginning of your async loop:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/aws-lambda/container-image/index.mdx b/docs/platforms/python/integrations/aws-lambda/container-image/index.mdx
index 2cb954176d78d..bfc82f2cf1e30 100644
--- a/docs/platforms/python/integrations/aws-lambda/container-image/index.mdx
+++ b/docs/platforms/python/integrations/aws-lambda/container-image/index.mdx
@@ -43,7 +43,6 @@ Next, set the following environment variables in AWS:
Alternatively, you can also set the environment variables in your Dockerfile. Values set in AWS override the values in a Dockerfile if both are provided.
-
```docker {tabTitle: Dockerfile}
ENV SENTRY_INITIAL_HANDLER="
"
diff --git a/docs/platforms/python/integrations/aws-lambda/manual-instrumentation/index.mdx b/docs/platforms/python/integrations/aws-lambda/manual-instrumentation/index.mdx
index eb991a29530fa..df211dc279f26 100644
--- a/docs/platforms/python/integrations/aws-lambda/manual-instrumentation/index.mdx
+++ b/docs/platforms/python/integrations/aws-lambda/manual-instrumentation/index.mdx
@@ -31,7 +31,6 @@ pip install --target ./package --upgrade sentry-sdk
Here's how to use the AWS Lambda integration for the Python SDK:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/beam/index.mdx b/docs/platforms/python/integrations/beam/index.mdx
index db210ad44ab66..6f1e4971993d5 100644
--- a/docs/platforms/python/integrations/beam/index.mdx
+++ b/docs/platforms/python/integrations/beam/index.mdx
@@ -11,7 +11,6 @@ A Beam version of 2.12 or later is required.
Add `BeamIntegration()` to your `integrations` list:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/celery/crons.mdx b/docs/platforms/python/integrations/celery/crons.mdx
index a6aa7b6e3d72e..6c4181452ec7c 100644
--- a/docs/platforms/python/integrations/celery/crons.mdx
+++ b/docs/platforms/python/integrations/celery/crons.mdx
@@ -40,7 +40,6 @@ Next, we need to initialize Sentry. Where to do this depends on how you run beat
Make sure to also set `monitor_beat_tasks=True` in `CeleryIntegration`.
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
@@ -99,7 +98,6 @@ You don't need to create Cron Monitors for your tasks on Sentry.io, we'll do it
You can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option `exclude_beat_tasks` when creating `CeleryIntegration`. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.
-
```python
sentry_sdk.init(
diff --git a/docs/platforms/python/integrations/cloudresourcecontext/index.mdx b/docs/platforms/python/integrations/cloudresourcecontext/index.mdx
index bf93e477c8a05..afeea531557d8 100644
--- a/docs/platforms/python/integrations/cloudresourcecontext/index.mdx
+++ b/docs/platforms/python/integrations/cloudresourcecontext/index.mdx
@@ -17,7 +17,6 @@ pip install --upgrade 'sentry-sdk'
Add `CloudResourceContextIntegration()` to your `integrations` list:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/django/index.mdx b/docs/platforms/python/integrations/django/index.mdx
index 0f46aa55e4ded..5e16739a1a3cc 100644
--- a/docs/platforms/python/integrations/django/index.mdx
+++ b/docs/platforms/python/integrations/django/index.mdx
@@ -25,7 +25,6 @@ pip install --upgrade 'sentry-sdk[django]'
To configure the Sentry SDK, initialize it in your `settings.py` file:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.
diff --git a/docs/platforms/python/integrations/dramatiq/index.mdx b/docs/platforms/python/integrations/dramatiq/index.mdx
index c1e96a88359a4..2c0181695de98 100644
--- a/docs/platforms/python/integrations/dramatiq/index.mdx
+++ b/docs/platforms/python/integrations/dramatiq/index.mdx
@@ -24,7 +24,6 @@ pip install --upgrade sentry-sdk
Add `DramatiqIntegration()` to your `integrations` list:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/gcp-functions/index.mdx b/docs/platforms/python/integrations/gcp-functions/index.mdx
index 1210f034b1fa0..1681bc684eef2 100644
--- a/docs/platforms/python/integrations/gcp-functions/index.mdx
+++ b/docs/platforms/python/integrations/gcp-functions/index.mdx
@@ -23,7 +23,6 @@ Limited Sentry support is available on newer Python runtimes by directly enablin
You can use the Google Cloud Functions integration for the Python SDK like this:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.
diff --git a/docs/platforms/python/integrations/gnu_backtrace/index.mdx b/docs/platforms/python/integrations/gnu_backtrace/index.mdx
index 3eba40e06367e..38fca9de1df96 100644
--- a/docs/platforms/python/integrations/gnu_backtrace/index.mdx
+++ b/docs/platforms/python/integrations/gnu_backtrace/index.mdx
@@ -19,7 +19,6 @@ pip install --upgrade 'sentry-sdk'
Add `GnuBacktraceIntegration()` to your `integrations` list:
-
```python
import sentry_sdk
diff --git a/docs/platforms/python/integrations/grpc/index.mdx b/docs/platforms/python/integrations/grpc/index.mdx
index 5308117e4ee4d..9dcc37069ab34 100644
--- a/docs/platforms/python/integrations/grpc/index.mdx
+++ b/docs/platforms/python/integrations/grpc/index.mdx
@@ -22,7 +22,6 @@ Add `GRPCIntegration()` to your `integrations` list, and enable tracing.
This will add appropriate intercepters to your server/client to capture errors and performance data.
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/langchain/index.mdx b/docs/platforms/python/integrations/langchain/index.mdx
index 2de1d33188a26..61a1051a7cf51 100644
--- a/docs/platforms/python/integrations/langchain/index.mdx
+++ b/docs/platforms/python/integrations/langchain/index.mdx
@@ -30,7 +30,6 @@ If you have the `langchain` package in your dependencies, the Langchain integrat
An additional dependency, `tiktoken`, is required to be installed if you want to calculate token usage for streaming chat responses.
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/litestar/index.mdx b/docs/platforms/python/integrations/litestar/index.mdx
index bee08e3820368..ed80f35c63e9f 100644
--- a/docs/platforms/python/integrations/litestar/index.mdx
+++ b/docs/platforms/python/integrations/litestar/index.mdx
@@ -17,7 +17,6 @@ pip install --upgrade 'sentry-sdk[litestar]' uvicorn
Add `LitestarIntegration()` to your `integrations` list:
-
```python
import sentry_sdk
diff --git a/docs/platforms/python/integrations/loguru/index.mdx b/docs/platforms/python/integrations/loguru/index.mdx
index 82f2b4724f1dc..878a31984726d 100644
--- a/docs/platforms/python/integrations/loguru/index.mdx
+++ b/docs/platforms/python/integrations/loguru/index.mdx
@@ -19,7 +19,6 @@ pip install --upgrade 'sentry-sdk[loguru]'
If you have the `loguru` package in your dependencies, the Loguru integration will be enabled automatically when you initialize the Sentry SDK.
-
```python
import sentry_sdk
diff --git a/docs/platforms/python/integrations/pure_eval/index.mdx b/docs/platforms/python/integrations/pure_eval/index.mdx
index d2de3f8ae7bf0..ae5e72f391af9 100644
--- a/docs/platforms/python/integrations/pure_eval/index.mdx
+++ b/docs/platforms/python/integrations/pure_eval/index.mdx
@@ -17,7 +17,6 @@ pip install --upgrade 'sentry-sdk[pure_eval]'
Add `PureEvalIntegration()` to your `integrations` list:
-
```python
import sentry_sdk
diff --git a/docs/platforms/python/integrations/ray/index.mdx b/docs/platforms/python/integrations/ray/index.mdx
index 75352b1f0d0c8..bef4855b8bfa9 100644
--- a/docs/platforms/python/integrations/ray/index.mdx
+++ b/docs/platforms/python/integrations/ray/index.mdx
@@ -17,7 +17,6 @@ pip install --upgrade sentry-sdk
Add `RayIntegration()` to your `integrations` list:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
@@ -98,4 +97,3 @@ Running this will create an error event (`ZeroDivisionError`) that will be sent
- Ray: 2.34+
- Python: 3.8+
-
diff --git a/docs/platforms/python/integrations/rq/index.mdx b/docs/platforms/python/integrations/rq/index.mdx
index 7c457aadc5eb7..74267737c4200 100644
--- a/docs/platforms/python/integrations/rq/index.mdx
+++ b/docs/platforms/python/integrations/rq/index.mdx
@@ -19,7 +19,6 @@ If you have the `rq` package in your dependencies, the RQ integration will be en
Create a file called `mysettings.py` with the following content:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
@@ -63,7 +62,6 @@ Generally, make sure that the **call to `init` is loaded on worker startup**, an
In addition, make sure that **`init` is called only once** in your app. For example, if you have a `Flask` app and a worker that depends on the app, we recommend only initializing Sentry once. Note that because the Flask integration is enabled automatically, you don't need to change the configuration shown above.
-
```python {filename:app.py} {"onboardingOptions": {"performance": "6-8", "profiling": "9-12"}}
# app.py
diff --git a/docs/platforms/python/integrations/sanic/index.mdx b/docs/platforms/python/integrations/sanic/index.mdx
index a8696750d3ebf..82174266027aa 100644
--- a/docs/platforms/python/integrations/sanic/index.mdx
+++ b/docs/platforms/python/integrations/sanic/index.mdx
@@ -27,7 +27,6 @@ To ensure that errors occuring in background tasks get reported to Sentry, we al
The example below demonstrates the simplest recommended setup.
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/serverless/index.mdx b/docs/platforms/python/integrations/serverless/index.mdx
index 1ce16aa9fbb73..f9c47bb28068f 100644
--- a/docs/platforms/python/integrations/serverless/index.mdx
+++ b/docs/platforms/python/integrations/serverless/index.mdx
@@ -24,7 +24,6 @@ pip install --upgrade 'sentry-sdk'
Apply the `serverless_function` decorator to each function that might throw errors:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/socket/index.mdx b/docs/platforms/python/integrations/socket/index.mdx
index 1ac7a338e5849..410d2547e02d9 100644
--- a/docs/platforms/python/integrations/socket/index.mdx
+++ b/docs/platforms/python/integrations/socket/index.mdx
@@ -17,7 +17,6 @@ pip install --upgrade 'sentry-sdk'
Add `SocketIntegration()` to your `integrations` list:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/spark/index.mdx b/docs/platforms/python/integrations/spark/index.mdx
index 78d3115fb88aa..65dcdaf7a2836 100644
--- a/docs/platforms/python/integrations/spark/index.mdx
+++ b/docs/platforms/python/integrations/spark/index.mdx
@@ -13,7 +13,6 @@ The Spark driver integration is supported for Spark 2 and above.
To configure the SDK, initialize it with the integration before you create a `SparkContext` or `SparkSession`.
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
@@ -59,7 +58,6 @@ The spark worker integration is supported for Spark versions 2.4.x and 3.1.x.
Create a file called `sentry-daemon.py` with the following content:
-
```python {filename:sentry-daemon.py} {"onboardingOptions": {"performance": "8-10", "profiling": "11-14"}}
import sentry_sdk
diff --git a/docs/platforms/python/integrations/strawberry/index.mdx b/docs/platforms/python/integrations/strawberry/index.mdx
index f9634457c33c8..69c88db0bb1ff 100644
--- a/docs/platforms/python/integrations/strawberry/index.mdx
+++ b/docs/platforms/python/integrations/strawberry/index.mdx
@@ -19,7 +19,6 @@ pip install --upgrade sentry-sdk
Add `StrawberryIntegration()` to your `integrations` list:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/tryton/index.mdx b/docs/platforms/python/integrations/tryton/index.mdx
index a72e4e517949d..bb4d45c3bea43 100644
--- a/docs/platforms/python/integrations/tryton/index.mdx
+++ b/docs/platforms/python/integrations/tryton/index.mdx
@@ -9,7 +9,6 @@ The Tryton integration adds support for the [Tryton Framework Server](https://ww
To configure the SDK, initialize it with the integration in a custom `wsgi.py` script:
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/integrations/wsgi/index.mdx b/docs/platforms/python/integrations/wsgi/index.mdx
index ca7421bb0858c..912ca3809e44a 100644
--- a/docs/platforms/python/integrations/wsgi/index.mdx
+++ b/docs/platforms/python/integrations/wsgi/index.mdx
@@ -18,7 +18,6 @@ pip install --upgrade 'sentry-sdk'
## Configure
-
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
diff --git a/docs/platforms/python/legacy-sdk/integrations.mdx b/docs/platforms/python/legacy-sdk/integrations.mdx
index 82ec8baa0c402..89925ef576647 100644
--- a/docs/platforms/python/legacy-sdk/integrations.mdx
+++ b/docs/platforms/python/legacy-sdk/integrations.mdx
@@ -371,7 +371,6 @@ TEMPLATE_CONTEXT_PROCESSORS = (
By default Django will render `500.html`, so simply drop the following snippet into your template:
-
```html
diff --git a/docs/platforms/python/legacy-sdk/usage.mdx b/docs/platforms/python/legacy-sdk/usage.mdx
index c1781414e98ea..d9fa5fd0205a2 100644
--- a/docs/platforms/python/legacy-sdk/usage.mdx
+++ b/docs/platforms/python/legacy-sdk/usage.mdx
@@ -100,7 +100,6 @@ raven test
You should get something like the following, assuming you’re configured everything correctly:
-
```bash
raven test sync+___DSN___
diff --git a/docs/platforms/python/migration/1.x-to-2.x.mdx b/docs/platforms/python/migration/1.x-to-2.x.mdx
index edef38ed0531e..1d22b35e431b2 100644
--- a/docs/platforms/python/migration/1.x-to-2.x.mdx
+++ b/docs/platforms/python/migration/1.x-to-2.x.mdx
@@ -20,7 +20,6 @@ The deprecated `with_locals` and `request_bodies` options have been removed in f
**These are all potential changes you need to apply to your init**:
-
```python diff
import sentry_sdk
diff --git a/docs/platforms/python/migration/raven-to-sentry-sdk.mdx b/docs/platforms/python/migration/raven-to-sentry-sdk.mdx
index 33bb76e2ad262..a12fe2b9287cb 100644
--- a/docs/platforms/python/migration/raven-to-sentry-sdk.mdx
+++ b/docs/platforms/python/migration/raven-to-sentry-sdk.mdx
@@ -12,7 +12,6 @@ The installation is now the same regardless of framework or library you integrat
**Old**:
-
```python
import raven
@@ -21,7 +20,6 @@ client = raven.Client("___PUBLIC_DSN___", release="1.3.0")
**New**:
-
```python
import sentry_sdk
diff --git a/docs/platforms/python/profiling/index.mdx b/docs/platforms/python/profiling/index.mdx
index 05e3710cf79dd..5a3ee12b813e8 100644
--- a/docs/platforms/python/profiling/index.mdx
+++ b/docs/platforms/python/profiling/index.mdx
@@ -15,7 +15,6 @@ Python profiling is stable as of SDK version `1.18.0`.
-
```python
import sentry_sdk
diff --git a/docs/platforms/python/profiling/troubleshooting/index.mdx b/docs/platforms/python/profiling/troubleshooting/index.mdx
index 0b2feed1c7b23..09bc08df9eb11 100644
--- a/docs/platforms/python/profiling/troubleshooting/index.mdx
+++ b/docs/platforms/python/profiling/troubleshooting/index.mdx
@@ -16,7 +16,6 @@ If you don't see any profiling data in [sentry.io](https://sentry.io), you can t
The feature was experimental prior to version `1.17.0`. To update your SDK to the latest version, remove `profiles_sample_rate` from `_experiments` and set it in the top-level options.
-
```python
sentry_sdk.init(
diff --git a/docs/platforms/python/tracing/index.mdx b/docs/platforms/python/tracing/index.mdx
index fe51ee828c5eb..9ccfcbef5d020 100644
--- a/docs/platforms/python/tracing/index.mdx
+++ b/docs/platforms/python/tracing/index.mdx
@@ -12,7 +12,6 @@ sidebar_order: 4000
To enable tracing in your application, adjust the `traces_sample_rate` based on the number of trace samples you want to send to Sentry by adding the highlighted code snippet below. (Setting a value of `1.0` will send 100% of your traces.)
-
```python {diff}
import sentry_sdk
diff --git a/docs/platforms/python/tracing/instrumentation/custom-instrumentation/index.mdx b/docs/platforms/python/tracing/instrumentation/custom-instrumentation/index.mdx
index df047c6142a06..0ae765af70b88 100644
--- a/docs/platforms/python/tracing/instrumentation/custom-instrumentation/index.mdx
+++ b/docs/platforms/python/tracing/instrumentation/custom-instrumentation/index.mdx
@@ -125,7 +125,6 @@ def eat_slice(slice):
To avoid having custom performance instrumentation code scattered all over your code base, pass a parameter to your `sentry_sdk.init()` call.
-
```python
import sentry_sdk
diff --git a/docs/platforms/react-native/index.mdx b/docs/platforms/react-native/index.mdx
index 12e121ce6b043..2d1ef4768d228 100644
--- a/docs/platforms/react-native/index.mdx
+++ b/docs/platforms/react-native/index.mdx
@@ -64,7 +64,6 @@ If you're using Expo, [read our docs](/platforms/react-native/manual-setup/expo/
To capture all errors, initialize the Sentry React Native SDK as soon as possible.
-
```javascript {filename:App.js} {"onboardingOptions": {"performance": "5-7", "profiling": "8-12"}}
import * as Sentry from "@sentry/react-native";
diff --git a/docs/platforms/react-native/integrations/default.mdx b/docs/platforms/react-native/integrations/default.mdx
index 420c62c089dc2..791a6ba039590 100644
--- a/docs/platforms/react-native/integrations/default.mdx
+++ b/docs/platforms/react-native/integrations/default.mdx
@@ -184,7 +184,6 @@ To disable system integrations, set `defaultIntegrations: false` when calling `i
To override their settings, provide a new instance with your config to the `integrations` option. For example, to turn off browser capturing console calls:
-
```javascript
Sentry.init({
@@ -213,4 +212,3 @@ Sentry.init({
},
});
```
-
diff --git a/docs/platforms/react-native/manual-setup/native-init.mdx b/docs/platforms/react-native/manual-setup/native-init.mdx
index ebce046f2aa81..f2ae5781bbd97 100644
--- a/docs/platforms/react-native/manual-setup/native-init.mdx
+++ b/docs/platforms/react-native/manual-setup/native-init.mdx
@@ -8,7 +8,6 @@ By default, the React Native SDK initializes the native SDK underneath the `init
To do this, set [autoInitializeNativeSdk](/platforms/react-native/configuration/options/#autoInitializeNativeSdk) to `false` in the init options:
-
```javascript
Sentry.init({
diff --git a/docs/platforms/react-native/session-replay/index.mdx b/docs/platforms/react-native/session-replay/index.mdx
index 515ac86f66d48..374063cb5c160 100644
--- a/docs/platforms/react-native/session-replay/index.mdx
+++ b/docs/platforms/react-native/session-replay/index.mdx
@@ -58,7 +58,6 @@ Sentry.init({
});
```
-
## Verify
diff --git a/docs/platforms/react-native/tracing/instrumentation/automatic-instrumentation.mdx b/docs/platforms/react-native/tracing/instrumentation/automatic-instrumentation.mdx
index 4ebb98b6657ac..3d4b21c104f45 100644
--- a/docs/platforms/react-native/tracing/instrumentation/automatic-instrumentation.mdx
+++ b/docs/platforms/react-native/tracing/instrumentation/automatic-instrumentation.mdx
@@ -104,7 +104,6 @@ The tracing integration creates a child span for every `XMLHttpRequest` or `fetc
To configure the automatic performance instrumentation, you will need to add the `ReactNativeTracing` integration yourself. We provide many options by default, so for the majority of apps you won't need to configure the integration yourself.
-
```javascript
import * as Sentry from "@sentry/react-native";
@@ -122,7 +121,6 @@ For all possible options, see [ReactNativeTracingOptions](https://github.com/get
You can use `beforeNavigate` to modify the transaction from routing instrumentation before the transaction is created. If you prefer not to send the transaction, set `sampled = false`.
-
```javascript
Sentry.init({
@@ -249,7 +247,6 @@ When bundling for production, React Native will minify class and function names
If you want to use tracing without our automatic instrumentation, you can disable it by setting `enableAutoPerformanceTracing` in your Sentry options and removing the `ReactNativeTracing` integration, if you added it:
-
```javascript
import * as Sentry from "@sentry/react-native";
diff --git a/docs/platforms/react-native/troubleshooting/index.mdx b/docs/platforms/react-native/troubleshooting/index.mdx
index 71400e2ef2004..11ab0b0d78465 100644
--- a/docs/platforms/react-native/troubleshooting/index.mdx
+++ b/docs/platforms/react-native/troubleshooting/index.mdx
@@ -33,7 +33,6 @@ By default we will patch the global `Promise` instance to ensure it matches exac
If you use a polyfilling library that patches the global `Promise` instance, you'll need to make sure you run the polyfill **after** `Sentry.init` is called.
-
```javascript
import allSettled from "promise.allsettled";
diff --git a/docs/platforms/ruby/common/profiling/index.mdx b/docs/platforms/ruby/common/profiling/index.mdx
index f1b5b90544aee..55284b3ef7b98 100644
--- a/docs/platforms/ruby/common/profiling/index.mdx
+++ b/docs/platforms/ruby/common/profiling/index.mdx
@@ -28,7 +28,6 @@ gem 'sentry-ruby'
Then, make sure both `traces_sample_rate` and `profiles_sample_rate` are set and non-zero in your Sentry initializer.
-
```ruby
# config/initializers/sentry.rb
diff --git a/docs/platforms/rust/guides/actix-web/index.mdx b/docs/platforms/rust/guides/actix-web/index.mdx
index 6c827dc638267..e40def6731138 100644
--- a/docs/platforms/rust/guides/actix-web/index.mdx
+++ b/docs/platforms/rust/guides/actix-web/index.mdx
@@ -22,7 +22,6 @@ sentry-actix = "{{@inject packages.version('sentry.rust') }}"
And your Rust code:
-
```rust {filename:main.rs}
use std::io;
diff --git a/docs/platforms/rust/index.mdx b/docs/platforms/rust/index.mdx
index 2b6979a542b6e..2244e745f1844 100644
--- a/docs/platforms/rust/index.mdx
+++ b/docs/platforms/rust/index.mdx
@@ -32,7 +32,6 @@ The most convenient way to use this library is the `sentry::init` function, whic
The `sentry::init` function returns a guard that when dropped, will flush Events that weren't yet sent to Sentry. It has a two-second deadline, so application shutdown may be slightly delayed as a result. Be sure to keep the guard or you won't be able to send events.
-
```rust {filename:main.rs}
let _guard = sentry::init(("___PUBLIC_DSN___", sentry::ClientOptions {
@@ -84,7 +83,6 @@ tokio::runtime::Builder::new_multi_thread()
The quickest way to verify Sentry in your Rust application is to cause a panic:
-
```rust {filename:main.rs}
fn main() {
diff --git a/docs/platforms/unity/configuration/event-debouncing/index.mdx b/docs/platforms/unity/configuration/event-debouncing/index.mdx
index 4263006973c32..beab2938c5514 100644
--- a/docs/platforms/unity/configuration/event-debouncing/index.mdx
+++ b/docs/platforms/unity/configuration/event-debouncing/index.mdx
@@ -14,7 +14,6 @@ The time that needs to pass after an event has been triggered to be captured aga
- `LogType.Warning` - one second
- `LogType.Error`, `LogType.Exception`, `LogType.Assert` and actual exceptions - one second
-
```csharp
using UnityEngine;
diff --git a/docs/platforms/unity/migration/index.mdx b/docs/platforms/unity/migration/index.mdx
index fac7e5f9209d5..6f786f71ee014 100644
--- a/docs/platforms/unity/migration/index.mdx
+++ b/docs/platforms/unity/migration/index.mdx
@@ -49,7 +49,6 @@ The updated Sentry Unity SDK requires Unity version 2019.4 or higher with .NET S
-
1. Remove the old `Sentry.cs` and `SentrySdk.cs` files from your project.
2. Remove the old initialization code `gameObject.AddComponent().Dsn = "___PUBLIC_DSN___";`.
diff --git a/docs/platforms/unreal/index.mdx b/docs/platforms/unreal/index.mdx
index 525897f0c8b25..aef52db801ba0 100644
--- a/docs/platforms/unreal/index.mdx
+++ b/docs/platforms/unreal/index.mdx
@@ -77,7 +77,6 @@ PublicDependencyModuleNames.AddRange(new string[] { ..., "Sentry" });
The minimum configuration required is the [DSN](/product/sentry-basics/dsn-explainer/) of your project:
-
```
___PUBLIC_DSN___
diff --git a/docs/product/crons/getting-started/http/index.mdx b/docs/product/crons/getting-started/http/index.mdx
index 2cb8b2b6b89ae..b96ab0b4737c5 100644
--- a/docs/product/crons/getting-started/http/index.mdx
+++ b/docs/product/crons/getting-started/http/index.mdx
@@ -19,7 +19,6 @@ Optionally, you can skip the first step and [create or update (upsert) a monitor
Check-in monitoring allows you to track a job's progress by completing two check-ins: one at the start of your job and another at the end of your job. This two-step process allows Sentry to notify you if your job didn't start when expected (missed) or if it exceeded its maximum runtime (failed).
-
```bash {tabTitle: cURL}
SENTRY_INGEST="https://___ORG_INGEST_DOMAIN___"
@@ -44,7 +43,6 @@ Host: ___ORG_INGEST_DOMAIN___
If your job execution fails:
-
```bash {tabTitle: cURL}
# 🔴 Notify Sentry your job has failed:
@@ -78,7 +76,6 @@ schedule or delete the monitor environment; otherwise, it will be marked as miss
-
```bash {tabTitle: cURL}
SENTRY_INGEST="https://___ORG_INGEST_DOMAIN___"
@@ -97,7 +94,6 @@ curl "${SENTRY_CRONS}?environment=dev&status=ok"
Sentry enables the automatic creation or update of a monitor (upsert) through the check-in payload. This can be useful if you have many scheduled tasks or need to create them dynamically.
-
```bash {tabTitle: cURL}
SENTRY_INGEST="https://___ORG_INGEST_DOMAIN___"
@@ -186,7 +182,6 @@ If this happens, you have to provide a stable check-in ID for your execution wit
Usage example:
-
```bash {tabTitle: cURL}
CHECK_IN_ID="$(uuidgen)"
@@ -207,7 +202,6 @@ curl "${SENTRY_CRONS}?check_in_id=${CHECK_IN_ID}&status=ok"
Heartbeat monitoring notifies Sentry of a job's status through one check-in. This setup will only notify you if your job didn't start when expected (missed). If you need to track a job to see if it exceeded its maximum runtime (failed), use check-ins instead.
-
```bash {tabTitle: cURL}
SENTRY_INGEST="https://___ORG_INGEST_DOMAIN___"
@@ -224,7 +218,6 @@ Host: ___ORG_INGEST_DOMAIN___
If your job execution fails:
-
```bash {tabTitle: cURL}
# 🔴 Notify Sentry your job has failed:
diff --git a/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx b/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx
index 2db53bece9df3..bdfb24f1a896e 100644
--- a/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx
+++ b/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx
@@ -64,7 +64,6 @@ The Sentry webpack plugin can automatically configure release information and se
1. To start associating commits and releases, add the following lines of code to `webpack.config.js` in your Sentry webpack plugin config:
-
```javascript {filename:webpack.config.js}
sentryWebpackPlugin({
diff --git a/docs/product/sentry-basics/integrate-frontend/upload-source-maps.mdx b/docs/product/sentry-basics/integrate-frontend/upload-source-maps.mdx
index 8d7292d4af5a7..5c1d0eff4096f 100644
--- a/docs/product/sentry-basics/integrate-frontend/upload-source-maps.mdx
+++ b/docs/product/sentry-basics/integrate-frontend/upload-source-maps.mdx
@@ -58,7 +58,6 @@ If your project has a different configuration, use the [Sentry Wizard](/platform
1. Open `webpack.config.js` and add the following lines to add the plugin configuration to webpack.
-
```javascript {filename:webpack.config.js}
const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
diff --git a/docs/security-legal-pii/security/security-policy-reporting.mdx b/docs/security-legal-pii/security/security-policy-reporting.mdx
index 5cee98b841542..b9a2e63d39639 100644
--- a/docs/security-legal-pii/security/security-policy-reporting.mdx
+++ b/docs/security-legal-pii/security/security-policy-reporting.mdx
@@ -14,7 +14,6 @@ The integration process consists of configuring the appropriate header with your
To configure CSP reports in Sentry, you’ll need to send a header from your server describing your policy and specifying the authenticated Sentry endpoint:
-
```
Content-Security-Policy: ...;
@@ -32,7 +31,6 @@ Though the `report-to` directive is intended to replace the deprecated `report-u
Alternatively, you can set up CSP reports to simply send reports rather than enforcing the policy:
-
```
Content-Security-Policy-Report-Only: ...;
@@ -52,7 +50,6 @@ For more information, see the article on [MDN](https://developer.mozilla.org/en-
To configure reports in Sentry, you’ll need to configure the Expect-CT header from your server:
-
```
Expect-CT: ..., report-uri="https://___ORG_INGEST_DOMAIN___/api/___PROJECT_ID___/security/?sentry_key=___PUBLIC_KEY___"
@@ -66,7 +63,6 @@ For more information, see the article on [MDN](https://developer.mozilla.org/en-
To configure HPKP reports in Sentry, you’ll need to send a header from your server describing your policy and specify the authenticated Sentry endpoint:
-
```
Public-Key-Pins: ...; report-uri="https://___ORG_INGEST_DOMAIN___/api/___PROJECT_ID___/security/?sentry_key=___PUBLIC_KEY___"
diff --git a/includes/platforms/configuration/integrations/redux.mdx b/includes/platforms/configuration/integrations/redux.mdx
index 3166ae15eba07..7dc8b82f8a31b 100644
--- a/includes/platforms/configuration/integrations/redux.mdx
+++ b/includes/platforms/configuration/integrations/redux.mdx
@@ -19,8 +19,6 @@ Because Sentry uses a redux **enhancer**, you should pass it as indicated above
By default, Sentry SDKs normalize any context to a depth of 3. You may want to increase this for sending Redux states by passing `normalizeDepth` to the `Sentry.init` call:
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/configuration/auto-session-tracking/apple.mdx b/platform-includes/configuration/auto-session-tracking/apple.mdx
index b54f6c1bb9b01..b072669078621 100644
--- a/platform-includes/configuration/auto-session-tracking/apple.mdx
+++ b/platform-includes/configuration/auto-session-tracking/apple.mdx
@@ -2,7 +2,6 @@ To benefit from the health data, you must use _at least_ version 5.0.0 of the Co
By default, the session is terminated once the application is in the background for more than 30 seconds. You can change the time out with the option named `sessionTrackingIntervalMillis`. It takes the amount in milliseconds. For example, to configure it to be 60 seconds:
-
```swift {tabTitle:Swift}
import Sentry
@@ -24,7 +23,6 @@ SentrySDK.start { options in
If you'd like to opt out of this feature, you can do so using options:
-
```swift {tabTitle:Swift}
import Sentry
diff --git a/platform-includes/configuration/auto-session-tracking/react-native.mdx b/platform-includes/configuration/auto-session-tracking/react-native.mdx
index a9c76cc0c7e4c..275b4cad64a3e 100644
--- a/platform-includes/configuration/auto-session-tracking/react-native.mdx
+++ b/platform-includes/configuration/auto-session-tracking/react-native.mdx
@@ -12,7 +12,6 @@ Sentry.init({
The session terminates once the application is in the background for more than 30 seconds. To change the timeout, use the option `sessionTrackingIntervalMillis`. For example:
-
```javascript
import * as Sentry from "@sentry/react-native";
diff --git a/platform-includes/configuration/before-send-check-in/php.mdx b/platform-includes/configuration/before-send-check-in/php.mdx
index 9abfd606df371..4a7c759ae5931 100644
--- a/platform-includes/configuration/before-send-check-in/php.mdx
+++ b/platform-includes/configuration/before-send-check-in/php.mdx
@@ -1,6 +1,5 @@
In PHP, a closure can be used to modify the event or return a completely new one. If you return `null`, the event will be discarded.
-
```php
\Sentry\init([
diff --git a/platform-includes/configuration/before-send-fingerprint/apple.mdx b/platform-includes/configuration/before-send-fingerprint/apple.mdx
index 75532172413c7..56460e137f7c1 100644
--- a/platform-includes/configuration/before-send-fingerprint/apple.mdx
+++ b/platform-includes/configuration/before-send-fingerprint/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {tabTitle:Swift}
import Sentry
diff --git a/platform-includes/configuration/before-send-fingerprint/php.mdx b/platform-includes/configuration/before-send-fingerprint/php.mdx
index 064dff2ed0685..a2033eeef8467 100644
--- a/platform-includes/configuration/before-send-fingerprint/php.mdx
+++ b/platform-includes/configuration/before-send-fingerprint/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/configuration/before-send-hint/php.mdx b/platform-includes/configuration/before-send-hint/php.mdx
index 796556e0ce324..0187875b82eeb 100644
--- a/platform-includes/configuration/before-send-hint/php.mdx
+++ b/platform-includes/configuration/before-send-hint/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/configuration/before-send-span/apple.mdx b/platform-includes/configuration/before-send-span/apple.mdx
index c100c21c00909..982be8de5844e 100644
--- a/platform-includes/configuration/before-send-span/apple.mdx
+++ b/platform-includes/configuration/before-send-span/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {tabTitle:Swift}
import Sentry
diff --git a/platform-includes/configuration/before-send-span/javascript.mdx b/platform-includes/configuration/before-send-span/javascript.mdx
index 7b60a0d7fb4b0..bcbba89531bec 100644
--- a/platform-includes/configuration/before-send-span/javascript.mdx
+++ b/platform-includes/configuration/before-send-span/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/configuration/before-send-transaction/javascript.mdx b/platform-includes/configuration/before-send-transaction/javascript.mdx
index bb344dfc570f3..f67628ea5193c 100644
--- a/platform-includes/configuration/before-send-transaction/javascript.mdx
+++ b/platform-includes/configuration/before-send-transaction/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/configuration/before-send-transaction/php.mdx b/platform-includes/configuration/before-send-transaction/php.mdx
index 6361ed10b13ba..e713190bda4ee 100644
--- a/platform-includes/configuration/before-send-transaction/php.mdx
+++ b/platform-includes/configuration/before-send-transaction/php.mdx
@@ -1,6 +1,5 @@
In PHP, a closure can be used to modify the event or return a completely new one. If you return `null`, the event will be discarded.
-
```php
\Sentry\init([
diff --git a/platform-includes/configuration/before-send/apple.mdx b/platform-includes/configuration/before-send/apple.mdx
index 137a3d36083e7..f9fec2233fef3 100644
--- a/platform-includes/configuration/before-send/apple.mdx
+++ b/platform-includes/configuration/before-send/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {tabTitle:Swift}
import Sentry
diff --git a/platform-includes/configuration/before-send/javascript.mdx b/platform-includes/configuration/before-send/javascript.mdx
index dbe98307da92b..67b19baefe570 100644
--- a/platform-includes/configuration/before-send/javascript.mdx
+++ b/platform-includes/configuration/before-send/javascript.mdx
@@ -2,7 +2,6 @@ In JavaScript, you can use a function to modify the event or return a completely
You can either return `null` or an event payload - no other return value (including `void`) is allowed.
If you return `null`, the event will be discarded.
-
```javascript
Sentry.init({
diff --git a/platform-includes/configuration/before-send/php.mdx b/platform-includes/configuration/before-send/php.mdx
index f7b87cbc9740c..0cbf5b53318be 100644
--- a/platform-includes/configuration/before-send/php.mdx
+++ b/platform-includes/configuration/before-send/php.mdx
@@ -1,6 +1,5 @@
In PHP, a closure can be used to modify the event or return a completely new one. If you return `null`, the event will be discarded.
-
```php
\Sentry\init([
diff --git a/platform-includes/configuration/capture-console/javascript.bun.mdx b/platform-includes/configuration/capture-console/javascript.bun.mdx
index cb3cabe5fb488..71f4c64f708f6 100644
--- a/platform-includes/configuration/capture-console/javascript.bun.mdx
+++ b/platform-includes/configuration/capture-console/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/capture-console/javascript.cloudflare.mdx b/platform-includes/configuration/capture-console/javascript.cloudflare.mdx
index ef5b410135a04..898de533c4494 100644
--- a/platform-includes/configuration/capture-console/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/capture-console/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/capture-console/javascript.deno.mdx b/platform-includes/configuration/capture-console/javascript.deno.mdx
index b867eae5e576e..486148c8b7d61 100644
--- a/platform-includes/configuration/capture-console/javascript.deno.mdx
+++ b/platform-includes/configuration/capture-console/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/capture-console/javascript.mdx b/platform-includes/configuration/capture-console/javascript.mdx
index 23b4c5b98f14f..38ab80d757c11 100644
--- a/platform-includes/configuration/capture-console/javascript.mdx
+++ b/platform-includes/configuration/capture-console/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/capture-console/javascript.node.mdx b/platform-includes/configuration/capture-console/javascript.node.mdx
index df1cfbac007c4..bf46f3a30beff 100644
--- a/platform-includes/configuration/capture-console/javascript.node.mdx
+++ b/platform-includes/configuration/capture-console/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/config-intro/android.mdx b/platform-includes/configuration/config-intro/android.mdx
index 40f070801e1ba..e09f0579939d6 100644
--- a/platform-includes/configuration/config-intro/android.mdx
+++ b/platform-includes/configuration/config-intro/android.mdx
@@ -1,6 +1,5 @@
Options on Android can be set by setting the values on the `AndroidManifest.xml` file:
-
```xml
diff --git a/platform-includes/configuration/config-intro/apple.mdx b/platform-includes/configuration/config-intro/apple.mdx
index 56f543c654387..6bdfe05da1a94 100644
--- a/platform-includes/configuration/config-intro/apple.mdx
+++ b/platform-includes/configuration/config-intro/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {tabTitle:Swift}
import Sentry // Make sure you import Sentry
diff --git a/platform-includes/configuration/config-intro/dart.mdx b/platform-includes/configuration/config-intro/dart.mdx
index 093a19b50b25e..89f4b18084edf 100644
--- a/platform-includes/configuration/config-intro/dart.mdx
+++ b/platform-includes/configuration/config-intro/dart.mdx
@@ -1,6 +1,5 @@
Options are passed to the `Sentry.init` method:
-
```dart
import 'package:sentry/sentry.dart';
diff --git a/platform-includes/configuration/config-intro/dotnet.aspnetcore.mdx b/platform-includes/configuration/config-intro/dotnet.aspnetcore.mdx
index dff6564f4f218..0a9c63fdebfde 100644
--- a/platform-includes/configuration/config-intro/dotnet.aspnetcore.mdx
+++ b/platform-includes/configuration/config-intro/dotnet.aspnetcore.mdx
@@ -3,7 +3,6 @@ pass the option object along for modifications:
ASP.NET Core 2.x:
-
```csharp
public static IWebHost BuildWebHost(string[] args) =>
@@ -19,7 +18,6 @@ public static IWebHost BuildWebHost(string[] args) =>
ASP.NET Core 3.0:
-
```csharp
public static IHostBuilder CreateHostBuilder(string[] args) =>
@@ -38,7 +36,6 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
Additionally, you can set your options on `appsettings.json` when using `UseSentry()`:
-
```json {filename:appsettings.json}
"Sentry": {
diff --git a/platform-includes/configuration/config-intro/dotnet.google-cloud-functions.mdx b/platform-includes/configuration/config-intro/dotnet.google-cloud-functions.mdx
index c133df07818b1..2f80bbb1c94df 100644
--- a/platform-includes/configuration/config-intro/dotnet.google-cloud-functions.mdx
+++ b/platform-includes/configuration/config-intro/dotnet.google-cloud-functions.mdx
@@ -19,7 +19,6 @@ With that in mind, you'll be able to configure your options using two options: u
See both methods below:
-
```json {tabTitle:appsettings.json}
"Sentry": {
diff --git a/platform-includes/configuration/config-intro/dotnet.mdx b/platform-includes/configuration/config-intro/dotnet.mdx
index 3e947961daad3..278a0942e3caf 100644
--- a/platform-includes/configuration/config-intro/dotnet.mdx
+++ b/platform-includes/configuration/config-intro/dotnet.mdx
@@ -1,6 +1,5 @@
For example, initialize with `SentrySdk.Init` in your `Program.cs` file:
-
```csharp
using Sentry;
diff --git a/platform-includes/configuration/config-intro/dotnet.nlog.mdx b/platform-includes/configuration/config-intro/dotnet.nlog.mdx
index 8c024e8d17f80..7f406b6e56b6b 100644
--- a/platform-includes/configuration/config-intro/dotnet.nlog.mdx
+++ b/platform-includes/configuration/config-intro/dotnet.nlog.mdx
@@ -6,7 +6,6 @@ For more information on how to dynamically set event data via `NLog.config`, see
You can configure the Sentry NLog target via `NLog.config` or by code as follows:
-
```xml {tabTitle:NLog.config}
diff --git a/platform-includes/configuration/config-intro/dotnet.xamarin.mdx b/platform-includes/configuration/config-intro/dotnet.xamarin.mdx
index 63f0d204aacdc..5d163c086343a 100644
--- a/platform-includes/configuration/config-intro/dotnet.xamarin.mdx
+++ b/platform-includes/configuration/config-intro/dotnet.xamarin.mdx
@@ -1,7 +1,6 @@
Options can be set by passing a callback to the `Init()` method which will
pass the option object along for modifications:
-
```csharp
using Sentry;
diff --git a/platform-includes/configuration/config-intro/elixir.mdx b/platform-includes/configuration/config-intro/elixir.mdx
index 002ec231d5691..e8771f78b8c46 100644
--- a/platform-includes/configuration/config-intro/elixir.mdx
+++ b/platform-includes/configuration/config-intro/elixir.mdx
@@ -2,7 +2,6 @@ In Elixir, configuration is handled using the standard Elixir configuration ([`C
Add configuration to the `:sentry` application in the your config file.
-
```elixir {filename:config/prod.exs}
config :sentry,
diff --git a/platform-includes/configuration/config-intro/flutter.mdx b/platform-includes/configuration/config-intro/flutter.mdx
index 4725d928a4d09..bad6291ac1e2f 100644
--- a/platform-includes/configuration/config-intro/flutter.mdx
+++ b/platform-includes/configuration/config-intro/flutter.mdx
@@ -1,6 +1,5 @@
Options are passed to the `SentryFlutter.init` method:
-
```dart
import 'package:flutter/widgets.dart';
diff --git a/platform-includes/configuration/config-intro/go.mdx b/platform-includes/configuration/config-intro/go.mdx
index 2b0d537827809..e8bd7cf3b2dec 100644
--- a/platform-includes/configuration/config-intro/go.mdx
+++ b/platform-includes/configuration/config-intro/go.mdx
@@ -1,6 +1,5 @@
Options are passed to the `Init()` method as an instance of `sentry.ClientOptions`:
-
```go
sentry.Init(sentry.ClientOptions{
diff --git a/platform-includes/configuration/config-intro/java.mdx b/platform-includes/configuration/config-intro/java.mdx
index 8d79d31084fce..d28481fb8845d 100644
--- a/platform-includes/configuration/config-intro/java.mdx
+++ b/platform-includes/configuration/config-intro/java.mdx
@@ -1,7 +1,6 @@
Options can be set by passing a callback to the `init()` method which will
pass the option object along for modifications:
-
```java {tabTitle:Java}
import io.sentry.Sentry;
diff --git a/platform-includes/configuration/config-intro/java.spring-boot.mdx b/platform-includes/configuration/config-intro/java.spring-boot.mdx
index 8bd4ea8032287..161cb699979a6 100644
--- a/platform-includes/configuration/config-intro/java.spring-boot.mdx
+++ b/platform-includes/configuration/config-intro/java.spring-boot.mdx
@@ -1,6 +1,5 @@
Basic options properties can be set in `application.properties` using `sentry` prefix:
-
```properties {tabTitle: application.properties}
sentry.dsn=___PUBLIC_DSN___
diff --git a/platform-includes/configuration/config-intro/javascript.ember.mdx b/platform-includes/configuration/config-intro/javascript.ember.mdx
index 13993c59735e4..948333d7f5069 100644
--- a/platform-includes/configuration/config-intro/javascript.ember.mdx
+++ b/platform-includes/configuration/config-intro/javascript.ember.mdx
@@ -1,6 +1,5 @@
Options are passed to `sentry` inside your environment:
-
```javascript
import * as Sentry from "@sentry/ember";
diff --git a/platform-includes/configuration/config-intro/javascript.mdx b/platform-includes/configuration/config-intro/javascript.mdx
index bbe590c189326..0e2fff204fde7 100644
--- a/platform-includes/configuration/config-intro/javascript.mdx
+++ b/platform-includes/configuration/config-intro/javascript.mdx
@@ -1,6 +1,5 @@
Options are passed to the `init()` function as object:
-
```javascript
Sentry.init({
diff --git a/platform-includes/configuration/config-intro/kotlin-multiplatform.mdx b/platform-includes/configuration/config-intro/kotlin-multiplatform.mdx
index e00a485410527..f7c394b0274c4 100644
--- a/platform-includes/configuration/config-intro/kotlin-multiplatform.mdx
+++ b/platform-includes/configuration/config-intro/kotlin-multiplatform.mdx
@@ -1,5 +1,3 @@
-
-
```kotlin
import io.sentry.kotlin.multiplatform.Sentry
diff --git a/platform-includes/configuration/config-intro/native.mdx b/platform-includes/configuration/config-intro/native.mdx
index 14e6fad84b6e9..58b79b31e10ba 100644
--- a/platform-includes/configuration/config-intro/native.mdx
+++ b/platform-includes/configuration/config-intro/native.mdx
@@ -2,7 +2,6 @@ Options are passed into `sentry_init` as a pointer to an options object created
via `sentry_options_new()`. There are functions that allow to set all options
individually.
-
```c
#include
diff --git a/platform-includes/configuration/config-intro/php.mdx b/platform-includes/configuration/config-intro/php.mdx
index 8a0d378efe3fd..5106cbc1e4cf1 100644
--- a/platform-includes/configuration/config-intro/php.mdx
+++ b/platform-includes/configuration/config-intro/php.mdx
@@ -1,6 +1,5 @@
Options are passed to the `init()` method as an array:
-
```php
\Sentry\init([
diff --git a/platform-includes/configuration/config-intro/powershell.mdx b/platform-includes/configuration/config-intro/powershell.mdx
index d4cc800452a93..e03ce3699d6fa 100644
--- a/platform-includes/configuration/config-intro/powershell.mdx
+++ b/platform-includes/configuration/config-intro/powershell.mdx
@@ -1,6 +1,5 @@
For example, initialize with `Start-Sentry` in your PowerShell script:
-
```powershell
Start-Sentry {
diff --git a/platform-includes/configuration/config-intro/python.mdx b/platform-includes/configuration/config-intro/python.mdx
index 0874c7b09aef6..c873dcdbb658a 100644
--- a/platform-includes/configuration/config-intro/python.mdx
+++ b/platform-includes/configuration/config-intro/python.mdx
@@ -1,6 +1,5 @@
Options are passed to the `init()` function as optional keyword arguments:
-
```python
import sentry_sdk
diff --git a/platform-includes/configuration/config-intro/ruby.mdx b/platform-includes/configuration/config-intro/ruby.mdx
index 9f6011e252893..4ef54d3d9a93c 100644
--- a/platform-includes/configuration/config-intro/ruby.mdx
+++ b/platform-includes/configuration/config-intro/ruby.mdx
@@ -1,6 +1,5 @@
Options are passed as attributes to the `config` object within the `init` block:
-
```ruby
Sentry.init do |config|
diff --git a/platform-includes/configuration/config-intro/rust.mdx b/platform-includes/configuration/config-intro/rust.mdx
index 58e9aacc59729..a45cf71d5232a 100644
--- a/platform-includes/configuration/config-intro/rust.mdx
+++ b/platform-includes/configuration/config-intro/rust.mdx
@@ -2,7 +2,6 @@ Options are passed to the `init()` function as tuple where the first argument is
Additionally, the `release_name` macro automatically generates the expected release based on the cargo metadata.
-
```rust
let _guard = sentry::init(("___PUBLIC_DSN___", sentry::ClientOptions {
diff --git a/platform-includes/configuration/contextlines/javascript.bun.mdx b/platform-includes/configuration/contextlines/javascript.bun.mdx
index 97932da7b8b57..90b5db874851a 100644
--- a/platform-includes/configuration/contextlines/javascript.bun.mdx
+++ b/platform-includes/configuration/contextlines/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/contextlines/javascript.cloudflare.mdx b/platform-includes/configuration/contextlines/javascript.cloudflare.mdx
index 38786e350aaf0..966c34237406c 100644
--- a/platform-includes/configuration/contextlines/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/contextlines/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/contextlines/javascript.deno.mdx b/platform-includes/configuration/contextlines/javascript.deno.mdx
index a50ca2e8b9ae7..1008061bccb53 100644
--- a/platform-includes/configuration/contextlines/javascript.deno.mdx
+++ b/platform-includes/configuration/contextlines/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/contextlines/javascript.mdx b/platform-includes/configuration/contextlines/javascript.mdx
index 62f7a233340b3..36ac8d1107c33 100644
--- a/platform-includes/configuration/contextlines/javascript.mdx
+++ b/platform-includes/configuration/contextlines/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/contextlines/javascript.node.mdx b/platform-includes/configuration/contextlines/javascript.node.mdx
index bcbd9a0cfb669..b7c9fc1d52c75 100644
--- a/platform-includes/configuration/contextlines/javascript.node.mdx
+++ b/platform-includes/configuration/contextlines/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/debug/javascript.bun.mdx b/platform-includes/configuration/debug/javascript.bun.mdx
index 2a5e5d92129c6..e0cc58ee3fb6f 100644
--- a/platform-includes/configuration/debug/javascript.bun.mdx
+++ b/platform-includes/configuration/debug/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/debug/javascript.cloudflare.mdx b/platform-includes/configuration/debug/javascript.cloudflare.mdx
index 1aa3e7001119e..2b224acf70344 100644
--- a/platform-includes/configuration/debug/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/debug/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/debug/javascript.deno.mdx b/platform-includes/configuration/debug/javascript.deno.mdx
index 64ed8250b85fc..e21afcbd59e8e 100644
--- a/platform-includes/configuration/debug/javascript.deno.mdx
+++ b/platform-includes/configuration/debug/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/debug/javascript.mdx b/platform-includes/configuration/debug/javascript.mdx
index 28cef1c7cf232..2e92a3dfd7574 100644
--- a/platform-includes/configuration/debug/javascript.mdx
+++ b/platform-includes/configuration/debug/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/debug/javascript.node.mdx b/platform-includes/configuration/debug/javascript.node.mdx
index 0c432dca1e359..89d8d149e9c07 100644
--- a/platform-includes/configuration/debug/javascript.node.mdx
+++ b/platform-includes/configuration/debug/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/dedupe/javascript.bun.mdx b/platform-includes/configuration/dedupe/javascript.bun.mdx
index 7eb7a67423a94..29520810f8991 100644
--- a/platform-includes/configuration/dedupe/javascript.bun.mdx
+++ b/platform-includes/configuration/dedupe/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/dedupe/javascript.cloudflare.mdx b/platform-includes/configuration/dedupe/javascript.cloudflare.mdx
index 36832ac0b4368..41bc95696fc0d 100644
--- a/platform-includes/configuration/dedupe/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/dedupe/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/dedupe/javascript.deno.mdx b/platform-includes/configuration/dedupe/javascript.deno.mdx
index 6eacb782d8420..a553dc4155749 100644
--- a/platform-includes/configuration/dedupe/javascript.deno.mdx
+++ b/platform-includes/configuration/dedupe/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/dedupe/javascript.mdx b/platform-includes/configuration/dedupe/javascript.mdx
index 7ca5037c78f6c..5e9db0474bd9b 100644
--- a/platform-includes/configuration/dedupe/javascript.mdx
+++ b/platform-includes/configuration/dedupe/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/dedupe/javascript.node.mdx b/platform-includes/configuration/dedupe/javascript.node.mdx
index e8c37c082408f..f5260f4ca8c35 100644
--- a/platform-includes/configuration/dedupe/javascript.node.mdx
+++ b/platform-includes/configuration/dedupe/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/dedupe/react-native.mdx b/platform-includes/configuration/dedupe/react-native.mdx
index acfb5b59662a8..b3dbb5464a8f0 100644
--- a/platform-includes/configuration/dedupe/react-native.mdx
+++ b/platform-includes/configuration/dedupe/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
import { Dedupe as DedupeIntegration } from "@sentry/integrations";
diff --git a/platform-includes/configuration/diagnostic-logger/dotnet.mdx b/platform-includes/configuration/diagnostic-logger/dotnet.mdx
index 790d3d9564fce..9596719dd6de0 100644
--- a/platform-includes/configuration/diagnostic-logger/dotnet.mdx
+++ b/platform-includes/configuration/diagnostic-logger/dotnet.mdx
@@ -1,6 +1,5 @@
Sentry's SDK includes its own internal logger to report diagnostics that may be useful when troubleshooting your Sentry configuration. To enable logging, set the `Debug` option to `true`:
-
```csharp
options =>
diff --git a/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.mdx b/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.mdx
index aa6eb3816ea81..fdce52fcec63a 100644
--- a/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.mdx
+++ b/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.node.mdx b/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.node.mdx
index b08d0035dd398..b92613cc2f0f6 100644
--- a/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.node.mdx
+++ b/platform-includes/configuration/enable-pluggable-integrations-lazy/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/enable-pluggable-integrations/javascript.mdx b/platform-includes/configuration/enable-pluggable-integrations/javascript.mdx
index 00fe4a5182d54..8081cb4145d26 100644
--- a/platform-includes/configuration/enable-pluggable-integrations/javascript.mdx
+++ b/platform-includes/configuration/enable-pluggable-integrations/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/enable-pluggable-integrations/javascript.node.mdx b/platform-includes/configuration/enable-pluggable-integrations/javascript.node.mdx
index 8de59aaeef0fc..e10d63e286eda 100644
--- a/platform-includes/configuration/enable-pluggable-integrations/javascript.node.mdx
+++ b/platform-includes/configuration/enable-pluggable-integrations/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/enable-pluggable-integrations/react-native.mdx b/platform-includes/configuration/enable-pluggable-integrations/react-native.mdx
index acfb5b59662a8..b3dbb5464a8f0 100644
--- a/platform-includes/configuration/enable-pluggable-integrations/react-native.mdx
+++ b/platform-includes/configuration/enable-pluggable-integrations/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
import { Dedupe as DedupeIntegration } from "@sentry/integrations";
diff --git a/platform-includes/configuration/extra-error-data/javascript.bun.mdx b/platform-includes/configuration/extra-error-data/javascript.bun.mdx
index 43800e789627d..2be84d8cb9a00 100644
--- a/platform-includes/configuration/extra-error-data/javascript.bun.mdx
+++ b/platform-includes/configuration/extra-error-data/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/extra-error-data/javascript.cloudflare.mdx b/platform-includes/configuration/extra-error-data/javascript.cloudflare.mdx
index 471980eaafd18..3566c2b80a897 100644
--- a/platform-includes/configuration/extra-error-data/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/extra-error-data/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/extra-error-data/javascript.deno.mdx b/platform-includes/configuration/extra-error-data/javascript.deno.mdx
index 0741bcce2c928..c8fe550fb0216 100644
--- a/platform-includes/configuration/extra-error-data/javascript.deno.mdx
+++ b/platform-includes/configuration/extra-error-data/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/extra-error-data/javascript.mdx b/platform-includes/configuration/extra-error-data/javascript.mdx
index 9d6b15a78f000..24efdd84f9b48 100644
--- a/platform-includes/configuration/extra-error-data/javascript.mdx
+++ b/platform-includes/configuration/extra-error-data/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/extra-error-data/javascript.node.mdx b/platform-includes/configuration/extra-error-data/javascript.node.mdx
index 98a979e4e8963..3abc090a19e06 100644
--- a/platform-includes/configuration/extra-error-data/javascript.node.mdx
+++ b/platform-includes/configuration/extra-error-data/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/http-client/javascript.mdx b/platform-includes/configuration/http-client/javascript.mdx
index 882f81926bac3..ebb3b5674cb78 100644
--- a/platform-includes/configuration/http-client/javascript.mdx
+++ b/platform-includes/configuration/http-client/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/http-client/react-native.mdx b/platform-includes/configuration/http-client/react-native.mdx
index 2b3ec155955c4..dbbb871e27658 100644
--- a/platform-includes/configuration/http-client/react-native.mdx
+++ b/platform-includes/configuration/http-client/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
import { HttpClient as HttpClientIntegration } from "@sentry/integrations";
diff --git a/platform-includes/configuration/ignore-errors/javascript.mdx b/platform-includes/configuration/ignore-errors/javascript.mdx
index 6b067619837e9..1d8238f7a664b 100644
--- a/platform-includes/configuration/ignore-errors/javascript.mdx
+++ b/platform-includes/configuration/ignore-errors/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/configuration/ignore-transactions/javascript.mdx b/platform-includes/configuration/ignore-transactions/javascript.mdx
index f3f9be564fbb1..1aa8541e84719 100644
--- a/platform-includes/configuration/ignore-transactions/javascript.mdx
+++ b/platform-includes/configuration/ignore-transactions/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/configuration/module-metadata/javascript.mdx b/platform-includes/configuration/module-metadata/javascript.mdx
index 18bc92c8746ec..cc48c275471bc 100644
--- a/platform-includes/configuration/module-metadata/javascript.mdx
+++ b/platform-includes/configuration/module-metadata/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/offline/javascript.mdx b/platform-includes/configuration/offline/javascript.mdx
index 5511772b1c609..a4bbddeced2a5 100644
--- a/platform-includes/configuration/offline/javascript.mdx
+++ b/platform-includes/configuration/offline/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/reporting-observer/javascript.mdx b/platform-includes/configuration/reporting-observer/javascript.mdx
index 745f538d6d56d..42a02ebaf2c4f 100644
--- a/platform-includes/configuration/reporting-observer/javascript.mdx
+++ b/platform-includes/configuration/reporting-observer/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/requestdata/javascript.mdx b/platform-includes/configuration/requestdata/javascript.mdx
index e37352545c332..3d2b7c3926658 100644
--- a/platform-includes/configuration/requestdata/javascript.mdx
+++ b/platform-includes/configuration/requestdata/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/rewrite-frames/javascript.bun.mdx b/platform-includes/configuration/rewrite-frames/javascript.bun.mdx
index cc8e795603039..ea96d3c1ba044 100644
--- a/platform-includes/configuration/rewrite-frames/javascript.bun.mdx
+++ b/platform-includes/configuration/rewrite-frames/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/rewrite-frames/javascript.cloudflare.mdx b/platform-includes/configuration/rewrite-frames/javascript.cloudflare.mdx
index 04e437f43ec87..6d7da1a86beb9 100644
--- a/platform-includes/configuration/rewrite-frames/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/rewrite-frames/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/rewrite-frames/javascript.deno.mdx b/platform-includes/configuration/rewrite-frames/javascript.deno.mdx
index e961b8face7c4..cd62766b818bf 100644
--- a/platform-includes/configuration/rewrite-frames/javascript.deno.mdx
+++ b/platform-includes/configuration/rewrite-frames/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/rewrite-frames/javascript.mdx b/platform-includes/configuration/rewrite-frames/javascript.mdx
index f164a732f6220..b23fabcac227a 100644
--- a/platform-includes/configuration/rewrite-frames/javascript.mdx
+++ b/platform-includes/configuration/rewrite-frames/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/rewrite-frames/javascript.node.mdx b/platform-includes/configuration/rewrite-frames/javascript.node.mdx
index d7cc8ac93be05..a174fabb3d3df 100644
--- a/platform-includes/configuration/rewrite-frames/javascript.node.mdx
+++ b/platform-includes/configuration/rewrite-frames/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/configuration/rewrite-frames/react-native.mdx b/platform-includes/configuration/rewrite-frames/react-native.mdx
index 8abb00d933899..556fad6b45af5 100644
--- a/platform-includes/configuration/rewrite-frames/react-native.mdx
+++ b/platform-includes/configuration/rewrite-frames/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
import { RewriteFrames as RewriteFramesIntegration } from "@sentry/integrations";
diff --git a/platform-includes/configuration/sample-rate/php.mdx b/platform-includes/configuration/sample-rate/php.mdx
index 9183133cea0d6..d7aba23219305 100644
--- a/platform-includes/configuration/sample-rate/php.mdx
+++ b/platform-includes/configuration/sample-rate/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/configuration/sessiontiming/javascript.bun.mdx b/platform-includes/configuration/sessiontiming/javascript.bun.mdx
index 9c734574b6ac2..addb51dfd1c01 100644
--- a/platform-includes/configuration/sessiontiming/javascript.bun.mdx
+++ b/platform-includes/configuration/sessiontiming/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/configuration/sessiontiming/javascript.cloudflare.mdx b/platform-includes/configuration/sessiontiming/javascript.cloudflare.mdx
index c3437412f4c49..758f13b3a2fae 100644
--- a/platform-includes/configuration/sessiontiming/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/sessiontiming/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/cloudflare";
diff --git a/platform-includes/configuration/sessiontiming/javascript.deno.mdx b/platform-includes/configuration/sessiontiming/javascript.deno.mdx
index f11532b9343da..6fd7a94f10a13 100644
--- a/platform-includes/configuration/sessiontiming/javascript.deno.mdx
+++ b/platform-includes/configuration/sessiontiming/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/configuration/sessiontiming/javascript.mdx b/platform-includes/configuration/sessiontiming/javascript.mdx
index 94f63d87faeae..f1be3f324826c 100644
--- a/platform-includes/configuration/sessiontiming/javascript.mdx
+++ b/platform-includes/configuration/sessiontiming/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/configuration/sessiontiming/javascript.node.mdx b/platform-includes/configuration/sessiontiming/javascript.node.mdx
index 29b9c44e37f5a..5ac254f7398b3 100644
--- a/platform-includes/configuration/sessiontiming/javascript.node.mdx
+++ b/platform-includes/configuration/sessiontiming/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/distributed-tracing/how-to-use/javascript.node.mdx b/platform-includes/distributed-tracing/how-to-use/javascript.node.mdx
index 3b61052cb6309..1bd53fe1f439b 100644
--- a/platform-includes/distributed-tracing/how-to-use/javascript.node.mdx
+++ b/platform-includes/distributed-tracing/how-to-use/javascript.node.mdx
@@ -1,6 +1,5 @@
In version `8.0.0` and above of the Sentry Node SDK, distributed tracing will work out of the box.
-
```javascript
Sentry.init({
diff --git a/platform-includes/distributed-tracing/limiting-traces/flutter.mdx b/platform-includes/distributed-tracing/limiting-traces/flutter.mdx
index ea5501f83323b..cf6b9c020d962 100644
--- a/platform-includes/distributed-tracing/limiting-traces/flutter.mdx
+++ b/platform-includes/distributed-tracing/limiting-traces/flutter.mdx
@@ -1,5 +1,3 @@
-
-
```dart
await SentryFlutter.init((options) {
options.dsn = '___PUBLIC_DSN___';
diff --git a/platform-includes/distributed-tracing/limiting-traces/javascript.mdx b/platform-includes/distributed-tracing/limiting-traces/javascript.mdx
index 42070022db851..b0a61b75fddcb 100644
--- a/platform-includes/distributed-tracing/limiting-traces/javascript.mdx
+++ b/platform-includes/distributed-tracing/limiting-traces/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/distributed-tracing/limiting-traces/javascript.node.mdx b/platform-includes/distributed-tracing/limiting-traces/javascript.node.mdx
index 03a4468787e58..26fdcd42348e8 100644
--- a/platform-includes/distributed-tracing/limiting-traces/javascript.node.mdx
+++ b/platform-includes/distributed-tracing/limiting-traces/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
diff --git a/platform-includes/distributed-tracing/limiting-traces/python.mdx b/platform-includes/distributed-tracing/limiting-traces/python.mdx
index a487b35613145..63e189d10cd0e 100644
--- a/platform-includes/distributed-tracing/limiting-traces/python.mdx
+++ b/platform-includes/distributed-tracing/limiting-traces/python.mdx
@@ -1,5 +1,3 @@
-
-
```python
import sentry_sdk
diff --git a/platform-includes/distributed-tracing/limiting-traces/ruby.mdx b/platform-includes/distributed-tracing/limiting-traces/ruby.mdx
index 50955cbe628db..1641398f5e97f 100644
--- a/platform-includes/distributed-tracing/limiting-traces/ruby.mdx
+++ b/platform-includes/distributed-tracing/limiting-traces/ruby.mdx
@@ -1,5 +1,3 @@
-
-
```ruby
Sentry.init do |config|
config.dsn = '___PUBLIC_DSN___'
diff --git a/platform-includes/enriching-events/add-attachment/javascript.mdx b/platform-includes/enriching-events/add-attachment/javascript.mdx
index e421f2b60fc8b..7b6c3cf4ab8a0 100644
--- a/platform-includes/enriching-events/add-attachment/javascript.mdx
+++ b/platform-includes/enriching-events/add-attachment/javascript.mdx
@@ -33,7 +33,6 @@ It's possible to add, remove, or modify attachments before an event is sent by w
the
hook or a global event processor.
-
```javascript
Sentry.init({
diff --git a/platform-includes/enriching-events/attach-screenshots/dotnet.maui.mdx b/platform-includes/enriching-events/attach-screenshots/dotnet.maui.mdx
index 59f6ae19c8206..d9e120946dcf4 100644
--- a/platform-includes/enriching-events/attach-screenshots/dotnet.maui.mdx
+++ b/platform-includes/enriching-events/attach-screenshots/dotnet.maui.mdx
@@ -1,5 +1,3 @@
-
-
```csharp
var builder = MauiApp.CreateBuilder()
.UseMauiApp()
diff --git a/platform-includes/enriching-events/attach-screenshots/dotnet.xamarin.mdx b/platform-includes/enriching-events/attach-screenshots/dotnet.xamarin.mdx
index 24d81cfda6853..14395e80f60d7 100644
--- a/platform-includes/enriching-events/attach-screenshots/dotnet.xamarin.mdx
+++ b/platform-includes/enriching-events/attach-screenshots/dotnet.xamarin.mdx
@@ -1,5 +1,3 @@
-
-
```csharp
SentryXamarin.Init(options =>
{
diff --git a/platform-includes/enriching-events/attach-screenshots/flutter.mdx b/platform-includes/enriching-events/attach-screenshots/flutter.mdx
index 7b93104106298..df8e38da76ceb 100644
--- a/platform-includes/enriching-events/attach-screenshots/flutter.mdx
+++ b/platform-includes/enriching-events/attach-screenshots/flutter.mdx
@@ -1,5 +1,3 @@
-
-
```dart
import 'package:flutter/widgets.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
@@ -48,4 +46,3 @@ Future main() async {
);
}
```
-
diff --git a/platform-includes/enriching-events/attach-screenshots/javascript.electron.mdx b/platform-includes/enriching-events/attach-screenshots/javascript.electron.mdx
index 131cea08a0658..c33b463df8971 100644
--- a/platform-includes/enriching-events/attach-screenshots/javascript.electron.mdx
+++ b/platform-includes/enriching-events/attach-screenshots/javascript.electron.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/electron/main";
diff --git a/platform-includes/enriching-events/attach-screenshots/react-native.mdx b/platform-includes/enriching-events/attach-screenshots/react-native.mdx
index a7e9ce6ca1337..fa89b768c6a38 100644
--- a/platform-includes/enriching-events/attach-screenshots/react-native.mdx
+++ b/platform-includes/enriching-events/attach-screenshots/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
diff --git a/platform-includes/enriching-events/attach-viewhierarchy/flutter.mdx b/platform-includes/enriching-events/attach-viewhierarchy/flutter.mdx
index ba39da8b90c0c..260f182eb14bb 100644
--- a/platform-includes/enriching-events/attach-viewhierarchy/flutter.mdx
+++ b/platform-includes/enriching-events/attach-viewhierarchy/flutter.mdx
@@ -1,5 +1,3 @@
-
-
```dart
import 'package:flutter/widgets.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
diff --git a/platform-includes/enriching-events/attach-viewhierarchy/kotlin-multiplatform.mdx b/platform-includes/enriching-events/attach-viewhierarchy/kotlin-multiplatform.mdx
index d3b1b3af36716..0b33a1c91cf71 100644
--- a/platform-includes/enriching-events/attach-viewhierarchy/kotlin-multiplatform.mdx
+++ b/platform-includes/enriching-events/attach-viewhierarchy/kotlin-multiplatform.mdx
@@ -4,7 +4,6 @@ Currently only available on iOS and Android.
-
```kotlin
import io.sentry.kotlin.multiplatform.sentry
diff --git a/platform-includes/enriching-events/attach-viewhierarchy/react-native.mdx b/platform-includes/enriching-events/attach-viewhierarchy/react-native.mdx
index 30cb4d2252afc..735f8ae46dc80 100644
--- a/platform-includes/enriching-events/attach-viewhierarchy/react-native.mdx
+++ b/platform-includes/enriching-events/attach-viewhierarchy/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
diff --git a/platform-includes/enriching-events/breadcrumbs/before-breadcrumb/php.mdx b/platform-includes/enriching-events/breadcrumbs/before-breadcrumb/php.mdx
index 8c090a4ba8b6c..ec8d7ab0759cf 100644
--- a/platform-includes/enriching-events/breadcrumbs/before-breadcrumb/php.mdx
+++ b/platform-includes/enriching-events/breadcrumbs/before-breadcrumb/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/enriching-events/scopes/configure-scope/react-native.mdx b/platform-includes/enriching-events/scopes/configure-scope/react-native.mdx
index 59794f7e59e83..a9a4e3d158028 100644
--- a/platform-includes/enriching-events/scopes/configure-scope/react-native.mdx
+++ b/platform-includes/enriching-events/scopes/configure-scope/react-native.mdx
@@ -12,7 +12,6 @@ Sentry.configureScope(function (scope) {
If you want to set context data in the JS layer and then receive that context data when a native (C/C++) crash happens, you need to synchronize the JS `Scope` with the native `Scope`. This feature was introduced in version `2.0.0` of the React-Native SDK and requires an opt-in:
-
```javascript {filename:App.js}
import * as Sentry from "@sentry/react-native";
diff --git a/platform-includes/enriching-events/set-tag/dotnet.nlog.mdx b/platform-includes/enriching-events/set-tag/dotnet.nlog.mdx
index 8e29f4149a44a..09acba1e9a7ac 100644
--- a/platform-includes/enriching-events/set-tag/dotnet.nlog.mdx
+++ b/platform-includes/enriching-events/set-tag/dotnet.nlog.mdx
@@ -4,7 +4,6 @@ For more information on how to dynamically set event tags via `NLog.config`, see
-
```xml {tabTitle:NLog.config}
diff --git a/platform-includes/enriching-events/set-user/dotnet.nlog.mdx b/platform-includes/enriching-events/set-user/dotnet.nlog.mdx
index 7589ff1028091..38fadff9ab0fe 100644
--- a/platform-includes/enriching-events/set-user/dotnet.nlog.mdx
+++ b/platform-includes/enriching-events/set-user/dotnet.nlog.mdx
@@ -5,7 +5,6 @@
-
```xml {tabTitle:NLog.config}
diff --git a/platform-includes/getting-started-config/apple.mdx b/platform-includes/getting-started-config/apple.mdx
index 20f6c505b9c03..0ff00452ca3e2 100644
--- a/platform-includes/getting-started-config/apple.mdx
+++ b/platform-includes/getting-started-config/apple.mdx
@@ -1,6 +1,5 @@
We recommend initializing the SDK on the main thread as soon as possible, such as in your AppDelegate `application:didFinishLaunchingWithOptions` method:
-
```swift {tabTitle:Swift}
import Sentry // Make sure you import Sentry
@@ -40,7 +39,6 @@ func application(_ application: UIApplication,
When using SwiftUI and your app doesn't implement an app delegate, initialize the SDK within the [App conformer's initializer]():
-
```swift
import Sentry
diff --git a/platform-includes/getting-started-config/dotnet.aspnetcore.mdx b/platform-includes/getting-started-config/dotnet.aspnetcore.mdx
index 9b21dac73351a..0cc970cf4a90c 100644
--- a/platform-includes/getting-started-config/dotnet.aspnetcore.mdx
+++ b/platform-includes/getting-started-config/dotnet.aspnetcore.mdx
@@ -2,7 +2,6 @@ Add Sentry to `Program.cs` through the `WebHostBuilder`:
ASP.NET Core 2.x:
-
```csharp
public static IWebHost BuildWebHost(string[] args) =>
@@ -20,7 +19,6 @@ let BuildWebHost args =
ASP.NET Core 3.0:
-
```csharp
public static IHostBuilder CreateHostBuilder(string[] args) =>
diff --git a/platform-includes/getting-started-config/dotnet.mdx b/platform-includes/getting-started-config/dotnet.mdx
index 3e947961daad3..278a0942e3caf 100644
--- a/platform-includes/getting-started-config/dotnet.mdx
+++ b/platform-includes/getting-started-config/dotnet.mdx
@@ -1,6 +1,5 @@
For example, initialize with `SentrySdk.Init` in your `Program.cs` file:
-
```csharp
using Sentry;
diff --git a/platform-includes/getting-started-config/dotnet.xamarin.mdx b/platform-includes/getting-started-config/dotnet.xamarin.mdx
index 744606729c53b..85abdcfbdaf32 100644
--- a/platform-includes/getting-started-config/dotnet.xamarin.mdx
+++ b/platform-includes/getting-started-config/dotnet.xamarin.mdx
@@ -1,7 +1,6 @@
You should initialize the SDK as early as possible, for an example, the start of OnCreate
on MainActivity for Android, and, the top of FinishedLaunching on AppDelegate for iOS).
-
```csharp
using Sentry;
diff --git a/platform-includes/getting-started-config/elixir.mdx b/platform-includes/getting-started-config/elixir.mdx
index ede63a02aa0d6..2cda0307d545b 100644
--- a/platform-includes/getting-started-config/elixir.mdx
+++ b/platform-includes/getting-started-config/elixir.mdx
@@ -1,6 +1,5 @@
Sentry has a range of configuration options, but most applications will have a configuration that looks like the following:
-
```elixir {filename:config/config.exs}
config :sentry,
diff --git a/platform-includes/getting-started-config/go.mdx b/platform-includes/getting-started-config/go.mdx
index f43b776650460..b9f85f5987957 100644
--- a/platform-includes/getting-started-config/go.mdx
+++ b/platform-includes/getting-started-config/go.mdx
@@ -1,5 +1,3 @@
-
-
```go
package main
diff --git a/platform-includes/getting-started-config/java.jul.mdx b/platform-includes/getting-started-config/java.jul.mdx
index f740776cd0518..1f956cdbdd096 100644
--- a/platform-includes/getting-started-config/java.jul.mdx
+++ b/platform-includes/getting-started-config/java.jul.mdx
@@ -29,7 +29,6 @@ java -Djava.util.logging.config.file=/path/to/app.properties MyClass
Sentry reads the DSN from the system property `sentry.dsn`, environment variable `SENTRY_DSN` or the `dsn` property in `sentry.properties` file. [See the configuration page](/platforms/java/configuration/) for more details on external configuration.
-
```properties {tabTitle:sentry.properties}
dsn=___PUBLIC_DSN___
diff --git a/platform-includes/getting-started-config/java.log4j2.mdx b/platform-includes/getting-started-config/java.log4j2.mdx
index 53caefef653a6..396370971bb92 100644
--- a/platform-includes/getting-started-config/java.log4j2.mdx
+++ b/platform-includes/getting-started-config/java.log4j2.mdx
@@ -6,7 +6,6 @@ The `ConsoleAppender` is provided only as an example of a non-Sentry appender se
-
```xml
@@ -33,7 +32,6 @@ The `ConsoleAppender` is provided only as an example of a non-Sentry appender se
Note that **you need to configure your DSN** (client key) only if you wish to initialize the SDK through the log4j2 integration. If you're planning to use `Sentry.init` to provide configuration, such as by using the `beforeSend` callback, you **should not** provide the DSN in both `Sentry.init` and the appender configuration; just leave it out of the appender configuration in this case.
-
```xml
```xml
diff --git a/platform-includes/getting-started-config/java.logback.mdx b/platform-includes/getting-started-config/java.logback.mdx
index 111beb3dfee06..3b2ea25cf2531 100644
--- a/platform-includes/getting-started-config/java.logback.mdx
+++ b/platform-includes/getting-started-config/java.logback.mdx
@@ -6,7 +6,6 @@ The `ConsoleAppender` is provided only as an example of a non-Sentry appender se
-
```xml
@@ -38,7 +37,6 @@ The `ConsoleAppender` is provided only as an example of a non-Sentry appender se
Note that **you need to configure your DSN** (client key).
-
```xml
@@ -66,7 +64,6 @@ Setting `minimumEventLevel` or `minimumBreadcrumbLevel` in `logback.xml` only af
Breadcrumbs are kept in memory (by default the last 100 records) and are sent with events. For example, by default, if you log 100 entries with `logger.info` or `logger.warn`, no event is sent to Sentry. If you then log with `logger.error`, an event is sent to Sentry which includes those 100 `info` or `warn` messages. For this to work, `SentryAppender` needs to receive **all** log entries to decide what to keep as breadcrumb or sent as event. Set the `SentryAppender` log level configuration to a value lower than what is set for the `minimumBreadcrumbLevel` and `minimumEventLevel` so that `SentryAppender` receives these log messages.
-
```xml
diff --git a/platform-includes/getting-started-config/java.mdx b/platform-includes/getting-started-config/java.mdx
index de098c38e0073..eed3df972814f 100644
--- a/platform-includes/getting-started-config/java.mdx
+++ b/platform-includes/getting-started-config/java.mdx
@@ -1,5 +1,3 @@
-
-
```java {tabTitle: Java} {"onboardingOptions": {"performance": "5-9"}}
import io.sentry.Sentry;
diff --git a/platform-includes/getting-started-config/java.servlet.mdx b/platform-includes/getting-started-config/java.servlet.mdx
index a7e19cf80cfbc..08df06899dc2e 100644
--- a/platform-includes/getting-started-config/java.servlet.mdx
+++ b/platform-includes/getting-started-config/java.servlet.mdx
@@ -1,6 +1,5 @@
The following example configures a `SentryInitializer` servlet container initializer that initializes Sentry on application startup.
-
```java
package sentry.sample;
@@ -40,7 +39,6 @@ class SentryInitializer : ServletContainerInitializer {
Create a file in `src/main/resources/META-INF/services` named `javax.servlet.ServletContainerInitializer`, with a full name of your custom `SentryInitializer` class as a content:
-
```properties
sentry.sample.SentryInitializer
diff --git a/platform-includes/getting-started-config/java.spring-boot.mdx b/platform-includes/getting-started-config/java.spring-boot.mdx
index 6def7cf4ab72c..29cc382c6ca0a 100644
--- a/platform-includes/getting-started-config/java.spring-boot.mdx
+++ b/platform-includes/getting-started-config/java.spring-boot.mdx
@@ -2,7 +2,6 @@ Sentry's Spring Boot integration auto-configures `sentry.in-app-packages` proper
Provide a `sentry.dsn` property using either `application.properties` or `application.yml`:
-
```properties {filename:application.properties} {"onboardingOptions": {"performance": "2-6"}}
sentry.dsn=___PUBLIC_DSN___
diff --git a/platform-includes/getting-started-config/java.spring.mdx b/platform-includes/getting-started-config/java.spring.mdx
index e8f95851adc37..589b21fe2c9e3 100644
--- a/platform-includes/getting-started-config/java.spring.mdx
+++ b/platform-includes/getting-started-config/java.spring.mdx
@@ -1,6 +1,5 @@
The `sentry-spring` and `sentry-spring-jakarta` libraries provide an `@EnableSentry` annotation that registers all required Spring beans. `@EnableSentry` can be placed on any class annotated with [@Configuration](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html) including the main entry class in Spring Boot applications annotated with [@SpringBootApplication](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/autoconfigure/SpringBootApplication.html).
-
```java {tabTitle:Java (Spring 5)}
import io.sentry.spring.EnableSentry;
@@ -46,7 +45,6 @@ Once this integration is configured you can _also_ use Sentry’s static API, [a
By default, only unhandled exceptions are sent to Sentry. This behavior can be tuned through configuring the `exceptionResolverOrder` property. For example, setting it to `Ordered#HIGHEST_PRECEDENCE` ensures exceptions that have been handled by exception resolvers with higher order are sent to Sentry - including ones handled by `@ExceptionHandler` annotated methods.
-
```java {tabTitle:Java (Spring 5)}
import io.sentry.spring.EnableSentry;
diff --git a/platform-includes/getting-started-config/javascript.angular.mdx b/platform-includes/getting-started-config/javascript.angular.mdx
index 353f9666b33ab..4b27bff6e3584 100644
--- a/platform-includes/getting-started-config/javascript.angular.mdx
+++ b/platform-includes/getting-started-config/javascript.angular.mdx
@@ -1,6 +1,5 @@
Once this is done, Sentry's Angular SDK captures all unhandled exceptions and transactions.
-
```typescript {filename: main.ts} {3, 6-30} {"onboardingOptions": {"performance": "9-12, 17-24", "session-replay": "13-15, 25-29"}}
import { enableProdMode } from "@angular/core";
diff --git a/platform-includes/getting-started-config/javascript.astro.mdx b/platform-includes/getting-started-config/javascript.astro.mdx
index a29437fc18589..ccec3814bd01d 100644
--- a/platform-includes/getting-started-config/javascript.astro.mdx
+++ b/platform-includes/getting-started-config/javascript.astro.mdx
@@ -1,6 +1,5 @@
Get started by adding your DSN to your Astro config file (`astro.config.mjs`):
-
```javascript {filename:astro.config.mjs}
import { defineConfig } from "astro/config";
diff --git a/platform-includes/getting-started-config/javascript.aws-lambda.mdx b/platform-includes/getting-started-config/javascript.aws-lambda.mdx
index 192d5a1bdde19..68c323ca6c748 100644
--- a/platform-includes/getting-started-config/javascript.aws-lambda.mdx
+++ b/platform-includes/getting-started-config/javascript.aws-lambda.mdx
@@ -1,6 +1,3 @@
-
-
-
```javascript {tabTitle:async} {"onboardingOptions": {"performance": "9-13", "profiling": "2, 6-8, 14-16"}}
const Sentry = require("@sentry/aws-serverless");
const { nodeProfilingIntegration } = require("@sentry/profiling-node");
diff --git a/platform-includes/getting-started-config/javascript.azure-functions.mdx b/platform-includes/getting-started-config/javascript.azure-functions.mdx
index 8215a4801cb99..439aabe930f0b 100644
--- a/platform-includes/getting-started-config/javascript.azure-functions.mdx
+++ b/platform-includes/getting-started-config/javascript.azure-functions.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:async} {"onboardingOptions": {"performance": "9-13", "profiling": "2, 6-8, 14-16"}}
const Sentry = require("@sentry/node");
const { nodeProfilingIntegration } = require("@sentry/profiling-node");
diff --git a/platform-includes/getting-started-config/javascript.bun.mdx b/platform-includes/getting-started-config/javascript.bun.mdx
index 42161cfb94493..5a1a32b4aeb3e 100644
--- a/platform-includes/getting-started-config/javascript.bun.mdx
+++ b/platform-includes/getting-started-config/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
Sentry should be initialized as early in your app as possible. It is essential that you call `Sentry.init` before you require any other modules in your application—otherwise, auto-instrumentation of these modules will _not_ work.
Once this is done, Sentry's Bun SDK captures unhandled exceptions as well as tracing data for your application.
@@ -12,7 +10,7 @@ import * as Sentry from "@sentry/bun";
// Ensure to call this before importing any other modules!
Sentry.init({
dsn: "___PUBLIC_DSN___",
-
+
// Add Performance Monitoring by setting tracesSampleRate
// Set tracesSampleRate to 1.0 to capture 100% of transactions
// We recommend adjusting this value in production
diff --git a/platform-includes/getting-started-config/javascript.capacitor.mdx b/platform-includes/getting-started-config/javascript.capacitor.mdx
index 71d5378f4a27c..39cd6dab04015 100644
--- a/platform-includes/getting-started-config/javascript.capacitor.mdx
+++ b/platform-includes/getting-started-config/javascript.capacitor.mdx
@@ -1,6 +1,5 @@
Then forward the `init` method from the sibling Sentry SDK for the framework you use, such as Angular in this example:
-
```typescript {tabTitle: Angular} {filename: app.module.ts} {"onboardingOptions": {"performance": "13-16, 21-28, 46-55", "session-replay": "17-19, 29-33"}}
import * as Sentry from "@sentry/capacitor";
diff --git a/platform-includes/getting-started-config/javascript.cordova.mdx b/platform-includes/getting-started-config/javascript.cordova.mdx
index 95dfd46e63e0e..7c088d9c0eec9 100644
--- a/platform-includes/getting-started-config/javascript.cordova.mdx
+++ b/platform-includes/getting-started-config/javascript.cordova.mdx
@@ -1,6 +1,5 @@
You should `init` the SDK in the `deviceReady` function, to make sure the native integrations runs.
-
```javascript
onDeviceReady: function() {
diff --git a/platform-includes/getting-started-config/javascript.electron.mdx b/platform-includes/getting-started-config/javascript.electron.mdx
index e044e605e9493..6c2de34c83065 100644
--- a/platform-includes/getting-started-config/javascript.electron.mdx
+++ b/platform-includes/getting-started-config/javascript.electron.mdx
@@ -1,6 +1,5 @@
You should `init` the SDK in the `main` process and every `renderer` process you spawn.
-
In the Electron `main` process:
diff --git a/platform-includes/getting-started-config/javascript.ember.mdx b/platform-includes/getting-started-config/javascript.ember.mdx
index 9e2735071ad38..1051bf69184b0 100644
--- a/platform-includes/getting-started-config/javascript.ember.mdx
+++ b/platform-includes/getting-started-config/javascript.ember.mdx
@@ -1,6 +1,5 @@
This snippet includes automatic instrumentation to monitor the performance of your application, which registers and configures the Tracing integration, including custom [Ember instrumentation](./configuration/ember-options/).
-
```javascript {"onboardingOptions": {"performance": "11-15", "session-replay": "10, 16-20"}}
import Application from "@ember/application";
diff --git a/platform-includes/getting-started-config/javascript.gcp-functions.mdx b/platform-includes/getting-started-config/javascript.gcp-functions.mdx
index b251dd9825fbd..c35abf4395264 100644
--- a/platform-includes/getting-started-config/javascript.gcp-functions.mdx
+++ b/platform-includes/getting-started-config/javascript.gcp-functions.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:Http functions} {"onboardingOptions": {"performance": "9-13", "profiling": "2, 6-8, 14-16"}}
const Sentry = require("@sentry/google-cloud-serverless");
const { nodeProfilingIntegration } = require("@sentry/profiling-node");
diff --git a/platform-includes/getting-started-config/javascript.mdx b/platform-includes/getting-started-config/javascript.mdx
index 98c0bf4cfbc65..2435056639ef9 100644
--- a/platform-includes/getting-started-config/javascript.mdx
+++ b/platform-includes/getting-started-config/javascript.mdx
@@ -2,7 +2,6 @@ Once this is done, Sentry's JavaScript SDK will capture all unhandled exceptions
Note, that configuration differs slightly depending on how you installed the Sentry SDK. Make sure to follow the instructions in the correct tab, depending on if you installed the Sentry SDK via NPM, using the Loader Script, or via CDN.
-
```javascript {tabTitle:npm}
import * as Sentry from "@sentry/browser";
diff --git a/platform-includes/getting-started-config/javascript.node.mdx b/platform-includes/getting-started-config/javascript.node.mdx
index 1b26f4eab79b7..359e5087e7f6b 100644
--- a/platform-includes/getting-started-config/javascript.node.mdx
+++ b/platform-includes/getting-started-config/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle:CommonJS} {filename: instrument.js} {"onboardingOptions": {"performance": "11-14", "profiling": "2, 7-10, 15-18"}}
const Sentry = require("@sentry/node");
const { nodeProfilingIntegration } = require("@sentry/profiling-node");
diff --git a/platform-includes/getting-started-config/javascript.nuxt.mdx b/platform-includes/getting-started-config/javascript.nuxt.mdx
index 6d39e7586367d..e9dc200e6be20 100644
--- a/platform-includes/getting-started-config/javascript.nuxt.mdx
+++ b/platform-includes/getting-started-config/javascript.nuxt.mdx
@@ -23,7 +23,6 @@ Adding this module enables the Sentry SDK in your Nuxt application. The Sentry N
Add a `sentry.client.config.(js|ts)` file to the root of your project (this is probably the same level as the `package.json`). In this file, import and initialize Sentry, specifying any SDK options for the client:
-
```javascript {filename:sentry.client.config.(js|ts)}
import * as Sentry from '@sentry/nuxt';
@@ -41,7 +40,6 @@ Sentry.init({
1. Add an `instrument.server.mjs` file to your `public` folder. In this file, import and initialize Sentry, specifying any SDK options for the server:
-
```javascript {filename:public/instrument.server.mjs}
import * as Sentry from '@sentry/nuxt';
diff --git a/platform-includes/getting-started-config/javascript.react.mdx b/platform-includes/getting-started-config/javascript.react.mdx
index 32b6458c301d6..c966b41617154 100644
--- a/platform-includes/getting-started-config/javascript.react.mdx
+++ b/platform-includes/getting-started-config/javascript.react.mdx
@@ -1,6 +1,5 @@
Sentry should be initialized as early as possible in your application. We recommend putting the Sentry initialization code into its own file and including that file as the first import in your application entry point as shown in the example below:
-
```javascript {filename:instrument.js} {"onboardingOptions": {"performance": "3-8, 13-21, 24-30", "session-replay": "22, 31-35"}}
import { useEffect } from "react";
diff --git a/platform-includes/getting-started-config/javascript.solid.mdx b/platform-includes/getting-started-config/javascript.solid.mdx
index a8df18d06a313..df77363e038d1 100644
--- a/platform-includes/getting-started-config/javascript.solid.mdx
+++ b/platform-includes/getting-started-config/javascript.solid.mdx
@@ -4,7 +4,6 @@ To use the SDK, initialize it in your Solid entry point before bootstrapping you
We currently support Solid 1.8.4 and up.
-
```javascript {filename: index.jsx} {"onboardingOptions": {"performance": "2, 12, 15-22", "session-replay": "13, 23-27"}}
import * as Sentry from "@sentry/solid";
diff --git a/platform-includes/getting-started-config/javascript.solidstart.mdx b/platform-includes/getting-started-config/javascript.solidstart.mdx
index 66368ab22d2a9..dc2f797109457 100644
--- a/platform-includes/getting-started-config/javascript.solidstart.mdx
+++ b/platform-includes/getting-started-config/javascript.solidstart.mdx
@@ -2,7 +2,6 @@ Initialize the Sentry SDK in your `src/entry-client.tsx` file.
If you're using Solid Router, add the `solidRouterBrowserTracingIntegration` to collect meaningful performance data about the health of your page loads and associated requests.
-
```jsx {filename:src/entry-client.tsx}
import * as Sentry from '@sentry/solidstart';
@@ -37,7 +36,6 @@ For example by placing it in the `public` folder.
-
```javascript {filename:public/instrument.server.mjs}
import * as Sentry from '@sentry/solidstart';
diff --git a/platform-includes/getting-started-config/javascript.svelte.mdx b/platform-includes/getting-started-config/javascript.svelte.mdx
index 469e1ebce3381..622d617b277df 100644
--- a/platform-includes/getting-started-config/javascript.svelte.mdx
+++ b/platform-includes/getting-started-config/javascript.svelte.mdx
@@ -1,6 +1,5 @@
To use the SDK, initialize it in your Svelte entry point before bootstrapping your app. In a typical Svelte project, that is your `main.js` or `main.ts` file.
-
```javascript {filename: main.js} {"onboardingOptions": {"performance": "10, 13-20", "session-replay": "11, 21-25"}}
import "./app.css";
diff --git a/platform-includes/getting-started-config/javascript.vue.mdx b/platform-includes/getting-started-config/javascript.vue.mdx
index c729a4e3fb87b..4c438f7eeb945 100644
--- a/platform-includes/getting-started-config/javascript.vue.mdx
+++ b/platform-includes/getting-started-config/javascript.vue.mdx
@@ -2,7 +2,6 @@ To initialize Sentry in your Vue application, add the following code snippet to
### Vue 3
-
```javascript {filename:main.js} {"onboardingOptions": {"performance": "16, 19-26", "session-replay": "17, 27-31"}}
import { createApp } from "vue";
@@ -44,7 +43,6 @@ app.mount("#app");
### Vue 2
-
```javascript {filename:main.js} {"onboardingOptions": {"performance": "15, 18-25", "session-replay": "16, 26-30"}}
import Vue from "vue";
diff --git a/platform-includes/getting-started-config/kotlin-multiplatform.mdx b/platform-includes/getting-started-config/kotlin-multiplatform.mdx
index ca9ad0a2d0152..fb4faffb689e8 100644
--- a/platform-includes/getting-started-config/kotlin-multiplatform.mdx
+++ b/platform-includes/getting-started-config/kotlin-multiplatform.mdx
@@ -1,5 +1,3 @@
-
-
```kotlin
import io.sentry.kotlin.multiplatform.Sentry
diff --git a/platform-includes/getting-started-config/native.mdx b/platform-includes/getting-started-config/native.mdx
index b693d5abf4d3a..94773c2e8e665 100644
--- a/platform-includes/getting-started-config/native.mdx
+++ b/platform-includes/getting-started-config/native.mdx
@@ -1,5 +1,3 @@
-
-
```c
#include
diff --git a/platform-includes/getting-started-config/native.qt.mdx b/platform-includes/getting-started-config/native.qt.mdx
index 871b38a527cf9..171256d96bec7 100644
--- a/platform-includes/getting-started-config/native.qt.mdx
+++ b/platform-includes/getting-started-config/native.qt.mdx
@@ -1,5 +1,3 @@
-
-
```cpp
#include
#include
diff --git a/platform-includes/getting-started-config/php.mdx b/platform-includes/getting-started-config/php.mdx
index d5de6900b091d..20c6538d573f1 100644
--- a/platform-includes/getting-started-config/php.mdx
+++ b/platform-includes/getting-started-config/php.mdx
@@ -1,6 +1,5 @@
To capture all errors, even the one during the startup of your application, you should initialize the Sentry PHP SDK as soon as possible.
-
```php
\Sentry\init([
diff --git a/platform-includes/getting-started-config/powershell.mdx b/platform-includes/getting-started-config/powershell.mdx
index b722fc0f79985..5af09201f9678 100644
--- a/platform-includes/getting-started-config/powershell.mdx
+++ b/platform-includes/getting-started-config/powershell.mdx
@@ -1,6 +1,5 @@
Once this is done, Sentry's PowerShell SDK can be used to capture errors.
-
```powershell
# You may need to import the module if you've just installed it.
diff --git a/platform-includes/getting-started-config/ruby.mdx b/platform-includes/getting-started-config/ruby.mdx
index 6b77f9ed1aea4..4f88459582746 100644
--- a/platform-includes/getting-started-config/ruby.mdx
+++ b/platform-includes/getting-started-config/ruby.mdx
@@ -1,5 +1,3 @@
-
-
```ruby {"onboardingOptions": {"performance": "8-11", "profiling": "12-15"}}
require 'sentry-ruby'
diff --git a/platform-includes/getting-started-config/ruby.rack.mdx b/platform-includes/getting-started-config/ruby.rack.mdx
index 9d338e83c588c..730034a03162b 100644
--- a/platform-includes/getting-started-config/ruby.rack.mdx
+++ b/platform-includes/getting-started-config/ruby.rack.mdx
@@ -2,7 +2,6 @@
Add `use Sentry::Rack::CaptureExceptions` to your `config.ru` or other rackup file:
-
```ruby {filename:config.ru} {"onboardingOptions": {"performance": "8-11", "profiling": "12-15"}}
require 'sentry-ruby'
diff --git a/platform-includes/getting-started-config/ruby.rails.mdx b/platform-includes/getting-started-config/ruby.rails.mdx
index d8a4976900ebc..243c27bc4ebf8 100644
--- a/platform-includes/getting-started-config/ruby.rails.mdx
+++ b/platform-includes/getting-started-config/ruby.rails.mdx
@@ -1,6 +1,5 @@
Initialize the SDK within your `config/initializers/sentry.rb`:
-
```ruby {filename:config/initializers/sentry.rb} {"onboardingOptions": {"performance": "6-9", "profiling": "10-13"}}
Sentry.init do |config|
diff --git a/platform-includes/getting-started-config/rust.mdx b/platform-includes/getting-started-config/rust.mdx
index d3c8edd76b556..e941731e3432d 100644
--- a/platform-includes/getting-started-config/rust.mdx
+++ b/platform-includes/getting-started-config/rust.mdx
@@ -1,6 +1,5 @@
`sentry.init()` will return you a guard that when freed, will prevent process exit until all events have been sent (within a timeout):
-
```rust
let _guard = sentry::init(("___PUBLIC_DSN___", sentry::ClientOptions {
diff --git a/platform-includes/getting-started-config/unity.mdx b/platform-includes/getting-started-config/unity.mdx
index ec3fb5ca24d54..8d7a9f678a2cc 100644
--- a/platform-includes/getting-started-config/unity.mdx
+++ b/platform-includes/getting-started-config/unity.mdx
@@ -1,6 +1,5 @@
The minimum configuration required is the [DSN](/product/sentry-basics/dsn-explainer/) to your project.
-
```
___PUBLIC_DSN___
diff --git a/platform-includes/getting-started-config/unreal.mdx b/platform-includes/getting-started-config/unreal.mdx
index c7d4b31da2814..570807ec98d49 100644
--- a/platform-includes/getting-started-config/unreal.mdx
+++ b/platform-includes/getting-started-config/unreal.mdx
@@ -1,6 +1,5 @@
The minimum configuration required is the [DSN](/product/sentry-basics/dsn-explainer/) of your project:
-
```
___PUBLIC_DSN___
diff --git a/platform-includes/getting-started-install/javascript.mdx b/platform-includes/getting-started-install/javascript.mdx
index 237e5471082c9..3334157abccef 100644
--- a/platform-includes/getting-started-install/javascript.mdx
+++ b/platform-includes/getting-started-install/javascript.mdx
@@ -1,6 +1,5 @@
In order to get started using the Sentry JavaScript SDK, add the following code to the top of your application, before all other scripts:
-
```html
-
```go
package main
diff --git a/platform-includes/getting-started-verify/rust.mdx b/platform-includes/getting-started-verify/rust.mdx
index 8242374bd472d..9922cc0c690b1 100644
--- a/platform-includes/getting-started-verify/rust.mdx
+++ b/platform-includes/getting-started-verify/rust.mdx
@@ -1,6 +1,5 @@
The quickest way to verify Sentry in your Rust application is to cause a panic:
-
```rust
fn main() {
diff --git a/platform-includes/performance/always-inherit-sampling-decision/php.mdx b/platform-includes/performance/always-inherit-sampling-decision/php.mdx
index b866c1102edaf..7877990cb9e3b 100644
--- a/platform-includes/performance/always-inherit-sampling-decision/php.mdx
+++ b/platform-includes/performance/always-inherit-sampling-decision/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/performance/configure-sample-rate/android.mdx b/platform-includes/performance/configure-sample-rate/android.mdx
index d6cac5a9f89ab..6554d90f9cae4 100644
--- a/platform-includes/performance/configure-sample-rate/android.mdx
+++ b/platform-includes/performance/configure-sample-rate/android.mdx
@@ -8,7 +8,6 @@ Or alternatively:
Or, if you are manually instrumenting Sentry:
-
```java {tabTitle:Java}
import io.sentry.android.core.SentryAndroid;
diff --git a/platform-includes/performance/configure-sample-rate/apple.mdx b/platform-includes/performance/configure-sample-rate/apple.mdx
index e7f51d60422c2..0b95263c8129e 100644
--- a/platform-includes/performance/configure-sample-rate/apple.mdx
+++ b/platform-includes/performance/configure-sample-rate/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {diff, tabTitle:Swift}
import Sentry
diff --git a/platform-includes/performance/configure-sample-rate/dart.mdx b/platform-includes/performance/configure-sample-rate/dart.mdx
index 0c60f5144a298..583bd9daacddf 100644
--- a/platform-includes/performance/configure-sample-rate/dart.mdx
+++ b/platform-includes/performance/configure-sample-rate/dart.mdx
@@ -1,5 +1,3 @@
-
-
```dart {diff}
import 'package:sentry/sentry.dart';
diff --git a/platform-includes/performance/configure-sample-rate/flutter.mdx b/platform-includes/performance/configure-sample-rate/flutter.mdx
index 2f4477740d15a..3d8eb55278897 100644
--- a/platform-includes/performance/configure-sample-rate/flutter.mdx
+++ b/platform-includes/performance/configure-sample-rate/flutter.mdx
@@ -1,5 +1,3 @@
-
-
```dart {diff}
import 'package:flutter/widgets.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
diff --git a/platform-includes/performance/configure-sample-rate/java.mdx b/platform-includes/performance/configure-sample-rate/java.mdx
index e216d117fb177..ad1cf7af6b115 100644
--- a/platform-includes/performance/configure-sample-rate/java.mdx
+++ b/platform-includes/performance/configure-sample-rate/java.mdx
@@ -4,7 +4,6 @@ If you are using either our [Spring](/platforms/java/guides/spring/performance/)
-
```java {diff, tabTitle:Java}
import io.sentry.Sentry;
diff --git a/platform-includes/performance/configure-sample-rate/javascript.astro.mdx b/platform-includes/performance/configure-sample-rate/javascript.astro.mdx
index 198d2e8d750ea..4919f327af6f8 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.astro.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.astro.mdx
@@ -1,6 +1,5 @@
Either set `tracesSampleRate` in your `astro.config.mjs` file or in `sentry.(client|server).init.js`:
-
```javascript {tabTitle:Integration Config}{filename:astro.config.mjs}
import { defineConfig } from "astro/config";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.bun.mdx b/platform-includes/performance/configure-sample-rate/javascript.bun.mdx
index 0db6e26ba1966..e8728cd955913 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.bun.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.bun.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/bun";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.cloudflare.mdx b/platform-includes/performance/configure-sample-rate/javascript.cloudflare.mdx
index d85bc18cdcb9b..081fe43b3766b 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.cloudflare.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.cloudflare.mdx
@@ -1,5 +1,3 @@
-
-
## Cloudflare Pages
```javascript {filename:functions/_middleware.js}
diff --git a/platform-includes/performance/configure-sample-rate/javascript.cordova.mdx b/platform-includes/performance/configure-sample-rate/javascript.cordova.mdx
index fabc9ac0e8a32..30c3aeb21316d 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.cordova.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.cordova.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
onDeviceReady: function() {
var Sentry = cordova.require("sentry-cordova.Sentry");
diff --git a/platform-includes/performance/configure-sample-rate/javascript.deno.mdx b/platform-includes/performance/configure-sample-rate/javascript.deno.mdx
index 4041c93f2d465..d0e3b8bb83582 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.deno.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.deno.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
// Import from the Deno registry
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.electron.mdx b/platform-includes/performance/configure-sample-rate/javascript.electron.mdx
index 2e6331c5355ec..5124b48bab487 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.electron.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.electron.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
// BrowserTracing should only be configured in Electron renderer processes
import * as Sentry from "@sentry/electron/renderer";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.ember.mdx b/platform-includes/performance/configure-sample-rate/javascript.ember.mdx
index aab6437b830cc..3d80374cd7f41 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.ember.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.ember.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/ember";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.mdx b/platform-includes/performance/configure-sample-rate/javascript.mdx
index bbaab5244d6fc..3a0be96047669 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
// If you're using one of our framework SDK packages, like `@sentry/react`,
// substitute its name for `@sentry/browser` here
diff --git a/platform-includes/performance/configure-sample-rate/javascript.nextjs.mdx b/platform-includes/performance/configure-sample-rate/javascript.nextjs.mdx
index f470b241b5b9d..3f83e9a01489c 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.nextjs.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.nextjs.mdx
@@ -1,6 +1,5 @@
Set `tracesSampleRate` in your config files, `sentry.server.config.js`, `sentry.client.config.js`, and `sentry.edge.config.js`:
-
```javascript
import * as Sentry from "@sentry/nextjs";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.node.mdx b/platform-includes/performance/configure-sample-rate/javascript.node.mdx
index 38b957ef5c8ac..e484f31c90848 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.node.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.node.mdx
@@ -1,5 +1,3 @@
-
-
```javascript {tabTitle: JavaScript}
import * as Sentry from "@sentry/node";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.nuxt.mdx b/platform-includes/performance/configure-sample-rate/javascript.nuxt.mdx
index 930d27b7a0d93..8b7928ec1b066 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.nuxt.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.nuxt.mdx
@@ -1,6 +1,5 @@
Set `tracesSampleRate` in your config files, `sentry.client.config.(js|ts)` and `instrument.server.mjs`:
-
```javascript
import * as Sentry from "@sentry/nuxt";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.react.mdx b/platform-includes/performance/configure-sample-rate/javascript.react.mdx
index 61b5a1045b093..5fb9c370452c4 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.react.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.react.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import { createBrowserRouter } from "react-router-dom";
import * as Sentry from "@sentry/react";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.remix.mdx b/platform-includes/performance/configure-sample-rate/javascript.remix.mdx
index eb8c7b7eebb56..91547ff2a29d7 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.remix.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.remix.mdx
@@ -1,5 +1,3 @@
-
-
### Client-Side Tracing
Sentry's client-side tracing captures `pageload` and `navigation` transactions when configured correctly. This is useful for understanding the performance of your application from the user's perspective.
diff --git a/platform-includes/performance/configure-sample-rate/javascript.sveltekit.mdx b/platform-includes/performance/configure-sample-rate/javascript.sveltekit.mdx
index ceeb79210fe6f..a93280983820e 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.sveltekit.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.sveltekit.mdx
@@ -1,6 +1,5 @@
In both, `hooks.client.js` and `hooks.server.js`, set:
-
```javascript
import * as Sentry from "@sentry/sveltekit";
diff --git a/platform-includes/performance/configure-sample-rate/javascript.vue.mdx b/platform-includes/performance/configure-sample-rate/javascript.vue.mdx
index efbd30efada2b..4257fd9145f61 100644
--- a/platform-includes/performance/configure-sample-rate/javascript.vue.mdx
+++ b/platform-includes/performance/configure-sample-rate/javascript.vue.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import Vue from "vue";
import * as Sentry from "@sentry/vue";
diff --git a/platform-includes/performance/configure-sample-rate/php.mdx b/platform-includes/performance/configure-sample-rate/php.mdx
index ebcf3be733224..6362be3d4d968 100644
--- a/platform-includes/performance/configure-sample-rate/php.mdx
+++ b/platform-includes/performance/configure-sample-rate/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/performance/configure-sample-rate/react-native.mdx b/platform-includes/performance/configure-sample-rate/react-native.mdx
index 0b7ebd99b4020..04e4b06308e01 100644
--- a/platform-includes/performance/configure-sample-rate/react-native.mdx
+++ b/platform-includes/performance/configure-sample-rate/react-native.mdx
@@ -1,5 +1,3 @@
-
-
```javascript
import * as Sentry from "@sentry/react-native";
diff --git a/platform-includes/performance/custom-performance-metrics/python.mdx b/platform-includes/performance/custom-performance-metrics/python.mdx
index a00a5c5b18500..a0a0065c4a103 100644
--- a/platform-includes/performance/custom-performance-metrics/python.mdx
+++ b/platform-includes/performance/custom-performance-metrics/python.mdx
@@ -1,6 +1,5 @@
Adding custom measurements is supported in Sentry's Python SDK version `1.16.0` and above.
-
```python
sentry_sdk.init(
@@ -27,7 +26,6 @@ The feature was marked experimental between versions `1.5.12` and `1.16.0`.
To enable the capturing of custom measurements before `1.16.0`, you'll need to enable the `custom_measurements` experiment option
and fetch the transaction manually.
-
```python
sentry_sdk.init(
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.angular.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.angular.mdx
index 491db0ca608a7..f41fd69b20bbb 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.angular.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.angular.mdx
@@ -2,7 +2,6 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
After configuration, you will see both `pageload` and `navigation` transactions in the Sentry UI.
-
```javascript
import * as Sentry from "@sentry/angular";
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.electron.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.electron.mdx
index 9f5751428ba22..a18306dd70a84 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.electron.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.electron.mdx
@@ -2,7 +2,6 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
After configuration, you will see both `pageload` and `navigation` transactions in the Sentry UI.
-
```javascript
// BrowserTracing should only be configured in Electron renderer processes
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.ember.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.ember.mdx
index f65094e9588c0..714749d31a3bb 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.ember.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.ember.mdx
@@ -2,7 +2,6 @@ The Ember add-on automatically adds the tracing integration for you with additio
After configuration, you will see both `pageload` and `navigation` transactions in sentry.io.
-
```javascript
import * as Sentry from "@sentry/ember";
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.mdx
index 05f4c33b9652e..2920411c1a50a 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.mdx
@@ -2,7 +2,6 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
After configuration, you will see both `pageload` and `navigation` transactions in the Sentry UI.
-
```javascript
// If you're using one of our framework SDK packages, like `@sentry/react`,
@@ -20,4 +19,4 @@ Sentry.init({
});
```
-
\ No newline at end of file
+
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.react.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.react.mdx
index d60031cfb7abf..34d78dde98919 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.react.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.react.mdx
@@ -2,7 +2,6 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
To use `react-router` integration, import and set a custom routing instrumentation using a custom history. Make sure you use a `Router` component combined with `createBrowserHistory` (or equivalent).
-
```javascript
import { Router } from "react-router-dom";
@@ -33,4 +32,4 @@ Sentry.init({
Now you should be generating `pageload`/`navigation` transactions from the `BrowserTracing` integration, using Sentry's [`react-router` instrumentation](/platforms/javascript/guides/react/configuration/integrations/react-router/).
-
\ No newline at end of file
+
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.remix.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.remix.mdx
index 3780b7b77ea0c..ea92d22752514 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.remix.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.remix.mdx
@@ -2,7 +2,6 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
To use `react-router` integration, import and set a custom routing instrumentation using a custom history. Make sure you use a `Router` component combined with `createBrowserHistory` (or equivalent).
-
```javascript
import { useLocation, useMatches } from "@remix-run/react";
diff --git a/platform-includes/performance/enable-automatic-instrumentation/javascript.vue.mdx b/platform-includes/performance/enable-automatic-instrumentation/javascript.vue.mdx
index c13c6ec3fcee1..bd055fe094349 100644
--- a/platform-includes/performance/enable-automatic-instrumentation/javascript.vue.mdx
+++ b/platform-includes/performance/enable-automatic-instrumentation/javascript.vue.mdx
@@ -2,7 +2,6 @@ To enable tracing, include the `BrowserTracing` integration in your SDK configur
After configuration, you'll see both `pageload` and `navigation` transactions in the Sentry UI.
-
```javascript
import * as Sentry from "@sentry/vue";
diff --git a/platform-includes/performance/opentelemetry-setup/go.mdx b/platform-includes/performance/opentelemetry-setup/go.mdx
index 00e206105ee67..c2830e48eecc4 100644
--- a/platform-includes/performance/opentelemetry-setup/go.mdx
+++ b/platform-includes/performance/opentelemetry-setup/go.mdx
@@ -1,6 +1,5 @@
You need to register the Sentry-provided SpanProcessor and Propagator as shown below:
-
```go
import (
diff --git a/platform-includes/performance/opentelemetry-setup/javascript.node.mdx b/platform-includes/performance/opentelemetry-setup/javascript.node.mdx
index 464294a270e47..da9be266fa617 100644
--- a/platform-includes/performance/opentelemetry-setup/javascript.node.mdx
+++ b/platform-includes/performance/opentelemetry-setup/javascript.node.mdx
@@ -1,6 +1,5 @@
There are a few steps necessary in order to ensure that your OpenTelemetry setup is fully synced with your Sentry SDK. The following code snippet walks through the needed steps.
-
```javascript
// Sentry dependencies
diff --git a/platform-includes/performance/opentelemetry-setup/python.mdx b/platform-includes/performance/opentelemetry-setup/python.mdx
index e31e59e20507b..1f326d606a3c2 100644
--- a/platform-includes/performance/opentelemetry-setup/python.mdx
+++ b/platform-includes/performance/opentelemetry-setup/python.mdx
@@ -1,6 +1,5 @@
Initialize Sentry for tracing and set the `instrumenter` to `otel`:
-
```python
import sentry_sdk
diff --git a/platform-includes/performance/opentelemetry-setup/ruby.mdx b/platform-includes/performance/opentelemetry-setup/ruby.mdx
index 49982d5453c8b..b8e1b3fb7b55c 100644
--- a/platform-includes/performance/opentelemetry-setup/ruby.mdx
+++ b/platform-includes/performance/opentelemetry-setup/ruby.mdx
@@ -1,6 +1,5 @@
Initialize Sentry for tracing and set the `instrumenter` to `:otel`:
-
```ruby {filename:config/initializers/sentry.rb}
Sentry.init do |config|
diff --git a/platform-includes/performance/opentelemetry-setup/with-java-agent/with-auto-init/java.mdx b/platform-includes/performance/opentelemetry-setup/with-java-agent/with-auto-init/java.mdx
index 2f248095f9574..28425548adbb6 100644
--- a/platform-includes/performance/opentelemetry-setup/with-java-agent/with-auto-init/java.mdx
+++ b/platform-includes/performance/opentelemetry-setup/with-java-agent/with-auto-init/java.mdx
@@ -1,6 +1,5 @@
This `java` command shows how to run your application using `sentry-opentelemetry-agent`:
-
```bash
SENTRY_PROPERTIES_FILE=sentry.properties java -javaagent:sentry-opentelemetry-agent-{{@inject packages.version('sentry.java.opentelemetry-agent') }}.jar -jar your-application.jar
diff --git a/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.mdx b/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.mdx
index c43ec4451bd81..c0c0df2bac2b8 100644
--- a/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.mdx
+++ b/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.mdx
@@ -1,6 +1,5 @@
If you're not using the auto initialization provided by `sentry-opentelemetry-agent` (`SENTRY_AUTO_INIT=false`), you have to set the `instrumenter` option to `otel`. This disables all Sentry instrumentation and uses the chosen OpenTelemetry tracers for creating spans instead. To ensure errors are properly linked to transactions that were created by the OpenTelemetry integration, add the `OpenTelemetryLinkErrorEventProcessor`:
-
```java {tabTitle: Java}
import io.sentry.Instrumenter;
diff --git a/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.spring-boot.mdx b/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.spring-boot.mdx
index 5986c1fa59ef4..94ac00f3f0b68 100644
--- a/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.spring-boot.mdx
+++ b/platform-includes/performance/opentelemetry-setup/with-java-agent/without-auto-init/java.spring-boot.mdx
@@ -1,7 +1,6 @@
If you're not using the auto initialization provided by `sentry-opentelemetry-agent` (`SENTRY_AUTO_INIT=false`), you have to
set the `instrumenter` option to `otel`. This disables all Sentry instrumentation and uses the chosen OpenTelemetry tracers for creating spans instead:
-
```properties {filename:application.properties}
sentry.dsn=___PUBLIC_DSN___
diff --git a/platform-includes/performance/opentelemetry-setup/without-java-agent/java.mdx b/platform-includes/performance/opentelemetry-setup/without-java-agent/java.mdx
index 67bfd3eee48f2..6b2874c6a1aba 100644
--- a/platform-includes/performance/opentelemetry-setup/without-java-agent/java.mdx
+++ b/platform-includes/performance/opentelemetry-setup/without-java-agent/java.mdx
@@ -47,7 +47,6 @@ You have to set the `instrumenter` option to `otel`. This disables all Sentry in
To ensure errors are properly linked to transactions that were created by the OpenTelemetry integration, add the `OpenTelemetryLinkErrorEventProcessor`:
-
```java {tabTitle: Java}
import io.sentry.Instrumenter;
diff --git a/platform-includes/performance/opentelemetry-setup/without-java-agent/java.spring-boot.mdx b/platform-includes/performance/opentelemetry-setup/without-java-agent/java.spring-boot.mdx
index 9e54907f257cd..b1f48756e5590 100644
--- a/platform-includes/performance/opentelemetry-setup/without-java-agent/java.spring-boot.mdx
+++ b/platform-includes/performance/opentelemetry-setup/without-java-agent/java.spring-boot.mdx
@@ -45,7 +45,6 @@ val openTelemetry = OpenTelemetrySdk.builder()
You have to set the `instrumenter` option to `otel`. This disables all Sentry instrumentation and uses the chosen OpenTelemetry tracers for creating spans instead.
-
```properties {filename:application.properties}
sentry.dsn=___PUBLIC_DSN___
diff --git a/platform-includes/performance/tracePropagationTargets-example/javascript.ember.mdx b/platform-includes/performance/tracePropagationTargets-example/javascript.ember.mdx
index 8b97e408b8c87..9cf00c09ff1b1 100644
--- a/platform-includes/performance/tracePropagationTargets-example/javascript.ember.mdx
+++ b/platform-includes/performance/tracePropagationTargets-example/javascript.ember.mdx
@@ -6,7 +6,6 @@ For example:
- The option can be configured for the built-in ember browser tracing: `browserTracingOptions: { tracePropagationTargets: ['api.example.com'] }}`
- Now outgoing XHR/fetch requests to `api.example.com` will get the `sentry-trace` header attached.
-
```javascript
import * as Sentry from "@sentry/ember";
diff --git a/platform-includes/performance/tracePropagationTargets-example/react-native.mdx b/platform-includes/performance/tracePropagationTargets-example/react-native.mdx
index 046626a872ba8..0d6f38c28628e 100644
--- a/platform-includes/performance/tracePropagationTargets-example/react-native.mdx
+++ b/platform-includes/performance/tracePropagationTargets-example/react-native.mdx
@@ -6,7 +6,6 @@ For example:
- Therefore, the option needs to be configured like this: `new Sentry.ReactNativeTracing({tracePropagationTargets: ['api.example.com']})`
- Now outgoing XHR/fetch requests to `api.example.com` will get the `sentry-trace` header attached
-
```javascript
Sentry.init({
diff --git a/platform-includes/performance/traces-sample-rate/php.mdx b/platform-includes/performance/traces-sample-rate/php.mdx
index 0a9877f63e1d2..94eb8807afbf5 100644
--- a/platform-includes/performance/traces-sample-rate/php.mdx
+++ b/platform-includes/performance/traces-sample-rate/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/performance/traces-sampler-as-filter/php.mdx b/platform-includes/performance/traces-sampler-as-filter/php.mdx
index 5c110c221f998..4f172da349b3a 100644
--- a/platform-includes/performance/traces-sampler-as-filter/php.mdx
+++ b/platform-includes/performance/traces-sampler-as-filter/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/performance/traces-sampler-as-sampler/android.mdx b/platform-includes/performance/traces-sampler-as-sampler/android.mdx
index a6d07722e4d19..a875b892ad107 100644
--- a/platform-includes/performance/traces-sampler-as-sampler/android.mdx
+++ b/platform-includes/performance/traces-sampler-as-sampler/android.mdx
@@ -1,5 +1,3 @@
-
-
```java
import io.sentry.CustomSamplingContext;
import io.sentry.android.core.SentryAndroid;
diff --git a/platform-includes/performance/traces-sampler-as-sampler/apple.mdx b/platform-includes/performance/traces-sampler-as-sampler/apple.mdx
index 5daf3f658c5e8..ff774b9055f3f 100644
--- a/platform-includes/performance/traces-sampler-as-sampler/apple.mdx
+++ b/platform-includes/performance/traces-sampler-as-sampler/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {tabTitle:Swift}
import Sentry
diff --git a/platform-includes/performance/traces-sampler-as-sampler/java.mdx b/platform-includes/performance/traces-sampler-as-sampler/java.mdx
index 9233525476792..815c33a2056fc 100644
--- a/platform-includes/performance/traces-sampler-as-sampler/java.mdx
+++ b/platform-includes/performance/traces-sampler-as-sampler/java.mdx
@@ -1,5 +1,3 @@
-
-
```java
import io.sentry.CustomSamplingContext;
import io.sentry.Sentry;
diff --git a/platform-includes/session-replay/setup/javascript.capacitor.mdx b/platform-includes/session-replay/setup/javascript.capacitor.mdx
index 3b1cde526460e..2e5f9b1f755cc 100644
--- a/platform-includes/session-replay/setup/javascript.capacitor.mdx
+++ b/platform-includes/session-replay/setup/javascript.capacitor.mdx
@@ -4,7 +4,6 @@ Several options are supported and passable using the integration constructor. Se
The minimal supported version of Sentry's SDK for Capacitor is 0.11.0.
-
```javascript {9,13,15-21}
import * as Sentry from "@sentry/capacitor";
@@ -47,4 +46,3 @@ Personally identifiable information (PII) and privacy are important consideratio
While we have certain privacy considerations in place, Sentry's Session Replay allows you to set up the [privacy configurations](/platforms/javascript/session-replay/privacy/#privacy-configuration) that work best for your use case. For example, if you're working on a static website that's free of PII or other types of private data, you can opt out of the default text masking and image blocking settings.
To learn more about Session Replay privacy, [read our docs.](/platforms/javascript/session-replay/privacy/)
-
diff --git a/platform-includes/set-environment/apple.mdx b/platform-includes/set-environment/apple.mdx
index 2a2f30a370525..6e68894c3cc0c 100644
--- a/platform-includes/set-environment/apple.mdx
+++ b/platform-includes/set-environment/apple.mdx
@@ -1,5 +1,3 @@
-
-
```swift {tabTitle:Swift}
import Sentry
diff --git a/platform-includes/set-environment/dotnet.nlog.mdx b/platform-includes/set-environment/dotnet.nlog.mdx
index fad8aca28fd47..a6feb04ad4aa4 100644
--- a/platform-includes/set-environment/dotnet.nlog.mdx
+++ b/platform-includes/set-environment/dotnet.nlog.mdx
@@ -4,7 +4,6 @@ For more information on how to dynamically set event data via `NLog.config`, see
-
```xml {tabTitle:NLog.config}
diff --git a/platform-includes/set-environment/php.mdx b/platform-includes/set-environment/php.mdx
index 006374ffa9edc..c5af306eeec51 100644
--- a/platform-includes/set-environment/php.mdx
+++ b/platform-includes/set-environment/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/set-release/dotnet.nlog.mdx b/platform-includes/set-release/dotnet.nlog.mdx
index 975fba7880ce8..49bc1af722a2e 100644
--- a/platform-includes/set-release/dotnet.nlog.mdx
+++ b/platform-includes/set-release/dotnet.nlog.mdx
@@ -4,7 +4,6 @@ For more information on how to dynamically set event data via `NLog.config`, see
-
```xml {tabTitle:NLog.config}
diff --git a/platform-includes/set-release/php.mdx b/platform-includes/set-release/php.mdx
index 367f5070fa934..f57e12d11dd4a 100644
--- a/platform-includes/set-release/php.mdx
+++ b/platform-includes/set-release/php.mdx
@@ -1,5 +1,3 @@
-
-
```php
\Sentry\init([
'dsn' => '___PUBLIC_DSN___',
diff --git a/platform-includes/set-release/rust.mdx b/platform-includes/set-release/rust.mdx
index 5b47aecd3a175..b0093c6501dbf 100644
--- a/platform-includes/set-release/rust.mdx
+++ b/platform-includes/set-release/rust.mdx
@@ -1,6 +1,5 @@
The `release_name` macro automatically infers the release from the cargo metadata and is the preferred way to set a release.
-
```rust
use sentry;
diff --git a/platform-includes/source-context/java.mdx b/platform-includes/source-context/java.mdx
index ad2293807c311..45909039f7193 100644
--- a/platform-includes/source-context/java.mdx
+++ b/platform-includes/source-context/java.mdx
@@ -55,7 +55,6 @@ Add the Sentry Gradle plugin to your project by adding the following lines:
-
```groovy
plugins {
@@ -119,7 +118,6 @@ sentry {
Make sure the `assemble` task is executed.
-
```groovy
plugins {
@@ -261,7 +259,6 @@ export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
Add the Sentry Maven Plugin to your project by adding the following lines to your `pom.xml` file:
-
```xml
diff --git a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx
index f2c79ff438a79..0dea289bd824f 100644
--- a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx
+++ b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx
@@ -82,7 +82,6 @@ Assuming you have the `@sentry/webpack` package installed on version `1.x`, you
Example:
-
```javascript {filename:webpack.config.js}
const SentryWebpackPlugin = require("@sentry/webpack-plugin");
@@ -112,7 +111,6 @@ module.exports = {
The Sentry webpack plugin will automatically inject a release value into the SDK so you must either omit the `release` option from `Sentry.init` or make sure `Sentry.init`'s `release` option matches the plugin's `release` option exactly:
-
```javascript
Sentry.init({
@@ -138,7 +136,6 @@ This applies when using the following packages on version `2.x` and above:
Example of using the `release.uploadLegacySourcemaps` option:
-
```javascript {filename:webpack.config.js} {tabTitle:Webpack}
const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
@@ -254,7 +251,6 @@ export default {
The Sentry bundler plugins will automatically inject a release value into the SDK so you must either omit the `release` option from `Sentry.init` or make sure `Sentry.init`'s `release` option matches the plugin's `release.name` option exactly:
-
```javascript
Sentry.init({
diff --git a/platform-includes/sourcemaps/overview/javascript.svelte.mdx b/platform-includes/sourcemaps/overview/javascript.svelte.mdx
index 8ff4993272a0c..973d59aa60211 100644
--- a/platform-includes/sourcemaps/overview/javascript.svelte.mdx
+++ b/platform-includes/sourcemaps/overview/javascript.svelte.mdx
@@ -61,7 +61,6 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
Configure Vite to emit source maps and use the Sentry Vite plugin:
-
```JavaScript {filename:vite.config.js}
import { defineConfig } from "vite";
diff --git a/platform-includes/sourcemaps/overview/javascript.vue.mdx b/platform-includes/sourcemaps/overview/javascript.vue.mdx
index 901e149e3e90f..a6548b46f911a 100644
--- a/platform-includes/sourcemaps/overview/javascript.vue.mdx
+++ b/platform-includes/sourcemaps/overview/javascript.vue.mdx
@@ -51,7 +51,6 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
Example:
-
```javascript {filename:vite.config.js}
import { defineConfig } from "vite";
diff --git a/platform-includes/troubleshooting/dotnet.mdx b/platform-includes/troubleshooting/dotnet.mdx
index 9bce1b70e2c33..11287b4ef7729 100644
--- a/platform-includes/troubleshooting/dotnet.mdx
+++ b/platform-includes/troubleshooting/dotnet.mdx
@@ -24,7 +24,6 @@ The above error could have two meanings:
Your debug window will have following messages:
-
```
Debug: Logging enabled with ConsoleDiagnosticLogger and min level: Debug
diff --git a/platform-includes/user-feedback/example-widget/_default.mdx b/platform-includes/user-feedback/example-widget/_default.mdx
index acb3e4a3d391f..27f63723c36f5 100644
--- a/platform-includes/user-feedback/example-widget/_default.mdx
+++ b/platform-includes/user-feedback/example-widget/_default.mdx
@@ -14,7 +14,6 @@ name="capture-event" /> and .
There is also a function called {}
that returns the ID of the most recently sent event.
-
```html