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 1 year ago
JSON representation
Glyphicon and font-awesome support in Markdown for Showdown.js
- Host: GitHub
- URL: https://github.com/dbtek/showdown-icon
- Owner: dbtek
- License: mit
- Created: 2014-04-21T09:01:45.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T21:59:57.000Z (over 6 years ago)
- Last Synced: 2025-04-30T18:49:21.748Z (about 1 year ago)
- Topics: font-awesome, glyphicons, icon, markdown, showdown
- Language: JavaScript
- Size: 9.77 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Showdown Icon Extension [](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');
```