markdown-it / markdown-it-emoji

Emoji syntax plugin for markdown-it markdown parser
https://markdown-it.github.io/
MIT License
719 stars 167 forks source link

Support glyphs icons #17

Closed Psychokrameur closed 7 years ago

Psychokrameur commented 7 years ago

Hello,

How can I add some feature to your plugin to be able to use Fontawesome or Glyphicon Glyphs in the mardown syntax?

I've seen mardown-it-icon plugin which provide this ability (with some rewrite) but it's a fork of your plugin based on an old version, and the logic seems different...

Thanks in advance

puzrin commented 7 years ago

You can define any mapping you wish. Your question is too abstract. I'd suggest to look into code, it's very simple.