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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 760463584c7ec9b932a98455eb0c6ad05d5835c16a01723dfb8fc516d5316a5c |
|
MD5 | 0b46b786637c9752f8197a01ed56e114 |
|
BLAKE2b-256 | 3d0a4077be259a2203c059db5b74f4f330f955f41c78f96f8204bb4c6954ca85 |