Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dbtek/showdown-icon
- Owner: dbtek
- License: mit
- Created: 2014-04-21T09:01:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T21:59:57.000Z (about 5 years ago)
- Last Synced: 2024-11-10T03:32:01.427Z (9 days ago)
- Topics: font-awesome, glyphicons, icon, markdown, showdown
- Language: JavaScript
- Size: 9.77 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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');
```