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.6.tar.gz (5.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for fontawesome-markdown-0.2.6.tar.gz
Algorithm Hash digest
SHA256 95a12f1629a595afc4aabc886ffdb8b5fa0ae8f77e8f3437b7b1942d91f91f4b
MD5 41d65f0cd8eb74f676da4344da237832
BLAKE2b-256 c729cbd664c42a119ee14d73a6991e4689beec529313ada5c4586c9c33f72e2b

See more details on using hashes here.

Supported by

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