Skip to main content

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!

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.

Release history Release notifications | RSS feed

0.2.6

1 file

0.2.5

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

This release

0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page