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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4ff19d9811f293ca13cb5c7d730844befc92a81be9dd065dcbd8a4a88b117dc |
|
MD5 | ececc1333d09c004e0cf37ea8b624fcf |
|
BLAKE2b-256 | 244ea7ddb2be18847d58ffbf90c83f8238a36a234d9b46b825753077c32c4f8e |