Embedding FontAwesome Icons

Markdown Monster can easily embed FontAwesome icons into your Markdown text. If your target site's styles load FontAwesome you can take advantage of MM's simplified FontAwesome embedding.

To add a FontAwesome Icon simply use the @ icon-iconName shortcut to embed the icon. For example, the following adds FontAwesome's round circle info icon into the text below:

> ####  Notice
> blah blah blah

which produces:

Notice

blah blah blah

Notice the icon info icon which is embedded by the @ icon-info-circle syntax, which is responsible for the embedded icon.

Here's another example:

Click on the @icn-camera icon to take a screen shot.

which produces:

Click on the icon to take a screen shot.

To insert a FontAwesome Icon, simple use @ icon- followed by the FontAwesome Icon name which you can find on the FontAwesome web site.

All of Markdown Monster's Preview styles include FontAwesome styles so the preview and exported documents will always include the FontAwesome icons.

More sophisticated Icon Usage via HTML

You can also use more sophisticated icon displays, like rotations for example, but for those you have to use HTML markup:

> #### <i class="fa fa-gear fa-spin fa-2x" style="color: firebrick"></i> Configuration
> Configuration can be launched from the **Tools -> Settings** menu option.

which produces:

Configuration

Configuration can be launched from the Tools -> Settings menu option.

Icons are a great way for callouts or quote blocks, as they can make content more visually interesting. But don't overuse these icons and use them consistently on your sites and documentation.

Requires FontAwesome on your Site

It's important to understand that FontAwesome Icons only work if FontAwesome is loaded into the HTML page. Markdown Monster's preview themes all include FontAwesome on the preview page, but your target Web site or documentation may not include it, in which case the icons will not render.

Make sure that FontAwesome is available on your output target before using this feature.


© West Wind Technologies, 2016-2023 • Updated: 02/14/22
Comment or report problem with topic