Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 92d5c38

Browse files
committed
fix broken switcher
1 parent 200b068 commit 92d5c38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Oh, and it supports basically any language, like JavaScript, TypeScript, Python,
2020

2121
<CodeSwitcher className="xl:max-h-[300px]" tabs>
2222

23-
```javascript title:services/api.js
23+
```javascript !! title:services/api.js
2424
import { api } from '@nitric/sdk'
2525

2626
const main = api('main')
@@ -31,7 +31,7 @@ main.get('/hello/:name', async ({ req, res }) => {
3131
})
3232
```
3333

34-
```typescript title:services/api.ts
34+
```typescript !! title:services/api.ts
3535
import { api } from '@nitric/sdk'
3636

3737
const main = api('main')
@@ -42,7 +42,7 @@ main.get('/hello/:name', async ({ req, res }) => {
4242
})
4343
```
4444

45-
```python title:services/example.py
45+
```python !! title:services/example.py
4646
from nitric.application import Nitric
4747
from nitric.resources import api
4848
from nitric.context import HttpContext
@@ -57,7 +57,7 @@ async def hello_world(ctx: HttpContext):
5757
Nitric.run()
5858
```
5959

60-
```go title:services/example/main.go
60+
```go !! title:services/example/main.go
6161
// !collapse(1:5) collapsed
6262
import (
6363
"context"
@@ -78,7 +78,7 @@ func main() {
7878
}
7979
```
8080

81-
```dart title:services/example.dart
81+
```dart !! title:services/example.dart
8282
import 'package:nitric_sdk/nitric.dart';
8383
8484
void main() {

0 commit comments

Comments
 (0)