akarzim / hexo-tag-fontawesome

A Font Awesome plugin for Hexo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

A Font Awesome plugin for Hexo

License:MIT License


Languages

Language:JavaScript 100.0%