Font Awesome from inside a Pelican
Project description
Introduction
This is pelicanfly, a plugin for Pelican that lets you type things like i ♥ :fa-coffee: in your Markdown documents and have it come out as little Font Awesome icons in the browser. It provides a minimal extension to Markdown and a plugin for Pelican.
The Pelican plugin hacks in some static assets to make this work with Pelican “out of the box”. If you just want the Markdown extension, it is available separately.
Installation
It’s not hard, just install via pip:
(env)$ pip install pelicanfly
Then add to your Pelican settings, under PLUGINS as follows:
PLUGINS = [
# ...
'pelicanfly',
# ...
]
If you have followed these steps correctly, next time you build your Pelican blog, pelicanfly will do its magic and convert all the :fa-heart: style tags into proper nice little Font Awesome icons. Job done!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pelicanfly-0.4.4.tar.gz
.
File metadata
- Download URL: pelicanfly-0.4.4.tar.gz
- Upload date:
- Size: 576.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d0d02b6ba964b741cccc91a1f26545f71165be3d7b7bf96bd37d89d2700ccc |
|
MD5 | f39dd7399fdab4c72e0c61258e28dd8c |
|
BLAKE2b-256 | c435869b1c3b14c1fc1b3a5d3d2a2e02062efad8bb1c21ba79f83031c0d3ce32 |