Font Awesome support for Markdown
Project description
A Markdown extension that looks for things like :fa-coffee: and replaces them with the Font Awesome icon markup.
Add a FontAwesomeExtension instance to your Markdown call and watch the magic unfold:
>>> from markdown import Markdown >>> from fontawesome_markdown import FontAwesomeExtension >>> markdown = Markdown(extensions=[FontAwesomeExtension()] >>> markdown.convert('i ♥ :fa-coffee:') <p>i ♥ <i class="fa fa-coffee"></i></p>
Don’t forget to make the Font Awesome assets available to your DOM!
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
Close
Hashes for fontawesome-markdown-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79aef18899d8df3b10d04c31c7980c0f2c6286d79baa29170042773f839b597e |
|
MD5 | f8305403853c06201f86612aac191a46 |
|
BLAKE2b-256 | d437a37017bdd7ef2225d8645f03d92b7ff1327cae04c3c8557cb78be95941de |