Skip to content

Commit eda7d47

Browse files
authored
Merge pull request #3708 from reactjs/syntax-highlight
Revert to npm-friendly syntax setting in README [ci skip]
2 parents 78359e6 + 80d0ef1 commit eda7d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Using [npm](https://www.npmjs.com/):
3737

3838
Then with a module bundler like [webpack](https://webpack.github.io/) that supports either CommonJS or ES2015 modules, use as you would anything else:
3939

40-
```jsx
40+
```js
4141
// using an ES6 transpiler, like babel
4242
import { Router, Route, Link } from 'react-router'
4343

@@ -57,7 +57,7 @@ You can find the library on `window.ReactRouter`.
5757

5858
### What's it look like?
5959

60-
```jsx
60+
```js
6161
import React from 'react'
6262
import { render } from 'react-dom'
6363
import { Router, Route, Link, browserHistory } from 'react-router'

0 commit comments

Comments
 (0)