Unverified Commit f8b4b227 authored by Jam Balaya's avatar Jam Balaya Committed by GitHub

docs: add filename to code block (#72275)

## Summary
[Use Code Block
filename](https://nextjs.org/docs/canary/community/contribution-guide#language-and-filename)
instead of comment.

### Improving Documentation

- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guideCo-authored-by: 's avatarDelba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
parent 20a55c0b
...@@ -211,8 +211,7 @@ As well as other extended methods from `Map`. ...@@ -211,8 +211,7 @@ As well as other extended methods from `Map`.
#### Before #### Before
```javascript ```ts filename="pages/_middleware.ts"
// pages/_middleware.ts
import { NextResponse } from 'next/server' import { NextResponse } from 'next/server'
import type { NextRequest } from 'next/server' import type { NextRequest } from 'next/server'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment