Skip to main content

FontAwesome support for Markdown

Project description

A Markdown extension that looks for things like :icon-coffee: and replaces them with the FontAwesome icon markup.

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 FontAwesome assets available to your DOM!

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for fontawesome-markdown-0.tar.gz
Algorithm Hash digest
SHA256 d71ab84c834b32bcc6b842684285958e2d408c06588d2a8c9c398fe8f8191bf2
MD5 064085f66bf1e11dc9ad0c79a3737ea5
BLAKE2b-256 304d1ee60990066d8b2ae9f90b9c13d5192534f69f949a83e8814a6607c3e94b

See more details on using hashes here.

Supported by

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