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 'fontawesome_markdown' to your Markdown call and watch the magic unfold:
>>> from markdown import Markdown
>>> markdown = Markdown(extensions=['fontawesome_markdown']
>>> 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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a12f1629a595afc4aabc886ffdb8b5fa0ae8f77e8f3437b7b1942d91f91f4b |
|
MD5 | 41d65f0cd8eb74f676da4344da237832 |
|
BLAKE2b-256 | c729cbd664c42a119ee14d73a6991e4689beec529313ada5c4586c9c33f72e2b |