Skip to content

Commit 9db1de5

Browse files
committed
Update README.md
1 parent ca008e3 commit 9db1de5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ Intro.js can be added to your site in three simple steps:
88

99
**1)** Include `intro.js` and `introjs.css` (or the minified version for production) in your page.
1010

11-
**Rails**
12-
13-
If you are using the rails asset pipeline you can use the [introjs-rails](https://github.com/heelhook/intro.js-rails) gem.
14-
1511
**2)** Add `data-intro` and `data-step` to your HTML elements.
1612
For example:
1713
```html
@@ -25,6 +21,11 @@ introJs().start();
2521

2622
Optionally, pass one parameter to `introJs` function to limit the presentation section, for example `introJs(".introduction-farm").start();` runs the introduction only for elements with `class='introduction-farm'`.
2723

24+
-----------
25+
###Rails
26+
27+
If you are using the rails asset pipeline you can use the [introjs-rails](https://github.com/heelhook/intro.js-rails) gem.
28+
2829
##Roadmap
2930
- More browser compatibility
3031

0 commit comments

Comments
 (0)