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, and you’re 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
Close
Hashes for fontawesome-markdown-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e857963b0bc3eb4a5975cbe041f78d0280197729fda6ba185d3789e7b19c3ea8 |
|
MD5 | 642c3900e368ee848303709ae4e72e91 |
|
BLAKE2b-256 | 12a3d4262406d9fac77f143699bbf744959114f96d9bb18a1c1efa7bd0e11253 |