Font Awesome gives you scalable vector icons that can instantly be customized -- size, color, drop shadow, and anything that can be done with the power of CSS.
Font Awesome Markdown A
Markdown extension that looks for things like
:fa-coffee: and replaces them
with the Font Awesome icon markup.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
This example uses the normal font awesome markup.
<i class="fa fa-camera-retro fa-lg"></i> fa-lg <i class="fa fa-camera-retro fa-2x"></i> fa-2x <i class="fa fa-camera-retro fa-3x"></i> fa-3x <i class="fa fa-camera-retro fa-4x"></i> fa-4x <i class="fa fa-camera-retro fa-5x"></i> fa-5x
fa-lg fa-2x fa-3x fa-4x fa-5x
This example use the fontawesome_markdown extension
i <3 :fa-coffee: and I <3 :fa-beer: and I'll buy wayland ten of both.
i <3 and I <3 and I'll buy wayland ten of both.
For this example, you must install the fontawesome_markdown extension with pip. Right now version 0.2.5 is the latest but it doesn't work so you have to install the latest version from the github repository. You can do that with the below command
pip install https://github.com/bmcorser/fontawesome-markdown/archive/master.zip
You may need to include --upgrade in the above command if you already have this extension installed.
Then add the below to your mkdocs.yml file.
markdown_extensions: - fontawesome_markdown