Skip to content

Commit fc60d1d

Browse files
committed
add example for diff on first line
1 parent ef0c7e1 commit fc60d1d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/dummy/public/example.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,22 @@ Router.map(function() {
6262

6363
export default Router;
6464
```
65+
66+
With a diff on the first line:
67+
68+
```javascript {data-filename="app/router.js" data-diff="-1,+2"}
69+
import EmberRouter from '@ember/routing/router';
70+
import EmberRouter from '@embroider/router';
71+
import config from './config/environment';
72+
73+
const Router = EmberRouter.extend({
74+
location: config.locationType,
75+
rootURL: config.rootURL
76+
});
77+
78+
Router.map(function() {
79+
this.route('about');
80+
});
81+
82+
export default Router;
83+
```

0 commit comments

Comments
 (0)