Skip to main content

Easily embed FontAwesome icons in your RST

Project description

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pelican-fontawesome, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pelican_fontawesome-0.1.0-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size pelican-fontawesome-0.1.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page