Skip to content

barraudf/fontawesome-markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 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 ♥ :fa-coffee:')
<p>i ♥ <i class="fa fa-coffee"></i></p>

Don't forget to make the Font Awesome assets available to your DOM!

Installation

pip install git+git://github.com/barraudf/fontawesome-markdown.git

Dependencies

About

Markdown extension to use Font Awesome icons in a GitHub style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%