Font Awesome support for Markdown
Project description
Font Awesome and Markdown, together!
For when words aren’t enough.
A Markdown extension that looks for things like :icon-coffee: and replaces them with the Font Awesome icon markup, users of GitHub’s emoji are likely to find this somewhat familiar.
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 ♥ :icon-coffee:') <p>i ♥ <i class="icon icon-coffee"></i></p>
Don’t forget to make the Font Awesome assets available in 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.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5def4e2fba9b0831659da2c98a9c5310c6c2d92586c1d1ce4b6a82919fe94414 |
|
MD5 | fc59c877b638caced745080ed9c07ee6 |
|
BLAKE2b-256 | 79faa280cbf8286b51e9432f34edcf9604a8ae7a49f9b99c0d379837966ff97c |