Permalink
Browse files

Merge pull request #4 from keilmillerjr/master

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 218ee0a2cd86e913b9d70b6c2a488724f83cd995
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -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 :)"
```
+For hyphenated icon names, surround the icon name with quotes:
+
+```ruby
+awesome_icon(:'bookmark-empty').should == "<i class=\"icon-bookmark-empty\"></i>"
+```
+
## Version
Font Awesome 2.0 is currently included. Enjoy :)

0 comments on commit 218ee0a

Please sign in to comment.