Skip to content

Commit

Permalink
Merge pull request #4 from keilmillerjr/master
Browse files Browse the repository at this point in the history
Added an example in readme where the icon name has a hyphen in it.
  • Loading branch information
kristianmandrup committed Oct 13, 2012
2 parents 1b4c335 + f989208 commit 218ee0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -48,6 +48,12 @@ awesome_icon(:ok, 'Okay :)').should == "<i class=\"icon-ok\"></i>Okay :)"
awesome_icon(:ok) { 'Okay :)'}.should == "<i class=\"icon-ok\"></i>Okay :)" awesome_icon(:ok) { 'Okay :)'}.should == "<i class=\"icon-ok\"></i>Okay :)"
``` ```


For hyphenated icon names, surround the icon name with quotes:

```ruby
awesome_icon(:'bookmark-empty').should == "<i class=\"icon-bookmark-empty\"></i>"
```

## Version ## Version


Font Awesome 2.0 is currently included. Enjoy :) Font Awesome 2.0 is currently included. Enjoy :)
Expand Down

0 comments on commit 218ee0a

Please sign in to comment.