akarzim / hexo-tag-fontawesome

A Font Awesome plugin for Hexo
MIT License
3 stars 1 forks source link

hexo-tag-fontawesome

A Font Awesome plugin for Hexo

Installation / Usage

Get the plugin via NPM:

npm install hexo-tag-fontawesome

Then, simply add this markup:

{% fa [icon-name] [options…] %}

Note that the second parameter is optional

Examples

Spinning Icons

The following code brings up a spinning icon:

{% fa refresh spin %}

Fixed Width Icons

The following code brings up a fixed width icon:

{% fa home fw %}

More examples at http://fontawesome.io/examples/