Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dbtek/showdown-icon

Glyphicon and font-awesome support in Markdown for Showdown.js
https://github.com/dbtek/showdown-icon

font-awesome glyphicons icon markdown showdown

Last synced: about 19 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

Showdown Icon Extension [![Build Status](https://travis-ci.org/dbtek/showdown-icon.svg?branch=master)](https://travis-ci.org/dbtek/showdown-icon)
=======================

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

Generates `````` with ```@glyphicon-home```,
and `````` with ```@fa-home```.

## Install
With NPM:
```bash
$ npm install --save showdown-icon
```

With Bower:
```bash
$ bower install showdown-icon
```

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