Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.
/ showdown-icon Public archive
forked from dbtek/showdown-icon

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

License

Notifications You must be signed in to change notification settings

ExchangeBC/showdown-icon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Showdown Icon Extension

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

bower install showdown-icon

Usage

<script src="showdown.js" />
<script src="showdown-icon/showdown-icon.js" />
var converter = new Showdown.converter({ extensions: ['icon'] });
alert(converter.makeHtml('[glyphicon-envelope]'));
alert(converter.makeHtml('[fa-home]'));

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%