Unverified Commit 0d98cd90 authored by Rayhan Arayilakath's avatar Rayhan Arayilakath Committed by GitHub

Fix: Codeblock Syntax Highlighting (#23545)

I don't believe NodeJS code should receive Bash syntax highlighting :).



## Bug

- [x] Related issues linked using `fixes #number`
- [] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
parent 9d2962cf
...@@ -28,11 +28,11 @@ npm install body-parser ...@@ -28,11 +28,11 @@ npm install body-parser
Use the package within server.js: Use the package within server.js:
```bash ```js
const bodyParser = require('body-parser'); const bodyParser = require('body-parser')
app.prepare().then(() => { app.prepare().then(() => {
const server = express(); const server = express()
server.use(bodyParser.urlencoded({ extended: true })) server.use(bodyParser.urlencoded({ extended: true }))
server.use(bodyParser.json()) server.use(bodyParser.json())
}) })
......
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