Skip to main content

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

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
fontawesome-markdown-0.2.6.tar.gz (5.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page