Font Awesome and Markdown, together!
For when words aren’t enough.
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!
Metadata
Release files for fontawesome-markdown 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fontawesome-markdown-0.2.6.tar.gz | 5.8 kB | Details |
Release files / fontawesome-markdown-0.2.6.tar.gz
| Download URL | fontawesome-markdown-0.2.6.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95a12f1629a595afc4aabc886ffdb8b5fa0ae8f77e8f3437b7b1942d91f91f4b
|
|
BLAKE2b-256 checksum How to use checksums |
c729cbd664c42a119ee14d73a6991e4689beec529313ada5c4586c9c33f72e2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |