diff --git a/README.md b/README.md index 3facf99..95d8a87 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ This version does not include any of the FA helper classes (like `fa-spin`), and to apply the font. Simply add the icon class, like `fa-star`, to your element, and the icon will appear in its `::before` pseudo-element. This behavior is similar to fonts generated by fontello. -``` +```html abusing the italic element ``` -``` +```html
this works too
``` @@ -51,7 +51,7 @@ Another way to add the icon to an element is by adding `data-icon="Ӓ"` whe code you copied from the preview HTML. This is a bit harder to use, but may be useful in some situations. You can also use this method to sneak emoji or other characters into your pages as icons, but you have to html-encode them first. -``` +```html this is a grinning face emoji ```