skip to navigation
skip to content

pelican-fontawesome 0.1.0

Easily embed FontAwesome icons in your RST

Pelican FontAwesome allows you to embed FontAwesome icons in your RST documents.

Installation

To install pelican-fontawesome, simply install it from PyPI:

$ pip install pelican-fontawesome

Then enabled it in your pelicanconf.py

PLUGINS = [
    # ...
    'pelican_fontawesome',
    # ...
]

Include the FontAwesome CSS in your base template.

<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">

Usage

In your article or page, you simply need to add a line to embed you video.

:fa:`fa-github`

Which will result in:

<span class="fa fa-github"></span>

License

MIT license.

 
File Type Py Version Uploaded on Size
pelican-fontawesome-0.1.0.tar.gz (md5) Source 2014-06-08 2KB
pelican_fontawesome-0.1.0-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-06-08 5KB