Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting code diff highlights #8913

Merged
merged 1 commit into from
Oct 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tutorial/part-two/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Let's make a quick improvement. Many sites have a single column of text centered
in the middle of the page. To create this, add the following styles to the
`<div>` in `src/pages/index.js`.

```jsx{4,25}:title=src/pages/index.js
```jsx{4}:title=src/pages/index.js
import React from "react"

export default () => (
Expand Down Expand Up @@ -435,7 +435,7 @@ directory. But, if it's used only in one file, create it inline.

Modify `about-css-modules.js` so it looks like the following:

```jsx{7-19,25-34}:title=src/pages/about-css-modules.js
```jsx{7-15,21-30}:title=src/pages/about-css-modules.js
pieh marked this conversation as resolved.
Show resolved Hide resolved
import React from "react"
import styles from "./about-css-modules.module.css"
import Container from "../components/container"
Expand Down