Skip to content

Commit

Permalink
Fix: Codeblock Syntax Highlighting (#23545)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Rayhan Arayilakath authored Apr 4, 2021
1 parent 9d2962c commit 0d98cd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/custom-server-express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ npm install body-parser

Use the package within server.js:

```bash
const bodyParser = require('body-parser');
```js
const bodyParser = require('body-parser')

app.prepare().then(() => {
const server = express();
const server = express()
server.use(bodyParser.urlencoded({ extended: true }))
server.use(bodyParser.json())
})
Expand Down

0 comments on commit 0d98cd9

Please sign in to comment.