showdown-icon

Showdown icon extension, Glyphicon and FontAwesome support in markdown


Keywords
markdown, icon, glyphicon, fontawesome, showdown, font-awesome, glyphicons
License
MIT
Install
bower install showdown-icon

Documentation

Showdown Icon Extension Build Status

Glyphicon and font-awesome support in Markdown for Showdown.js

Generates <span class="glyphicon glyphicon-home"></span> with @glyphicon-home, and <i class="fa fa-home"></i> with @fa-home.

Install

With NPM:

 $ npm install --save showdown-icon

With Bower:

 $ bower install showdown-icon

Usage

var converter = new Showdown.converter({ extensions: ['icon'] });
converter.makeHtml('@glyphicon-envelope');
converter.makeHtml('@fa-home');