Skip to main content

Font Awesome support for Markdown

Project description

https://travis-ci.org/bmcorser/fontawesome-markdown.svg?branch=0.2.4

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fontawesome-markdown-0.2.5.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file fontawesome-markdown-0.2.5.tar.gz.

File metadata

File hashes

Hashes for fontawesome-markdown-0.2.5.tar.gz
Algorithm Hash digest
SHA256 dabce13d3bc8b0313272d3c39ec3965c4a18909f87d6edd8ce9c5fb00a97601a
MD5 ada9e3d0b967a66e9b190a8375a4357d
BLAKE2b-256 d81a41585cf771cf7582970a5237e71446a85928b30a88577e4aea5ee8808dc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page