Font Awesome Icons in Posts
jimp last edited by
We use Font Awesome icons in our software and since NodeBB also utilizes Font Awesome icons, I wondered if there was a way to include them in the text of forum posts, similar to Emoji. This would make pointing users at specific buttons/controls a breeze since we could use the icons directly rather than descriptions of them or images.
I've searched around quite a bit but I haven't found anything promising in plugins or in previous forum posts.
It seems like it shouldn't be terribly difficult to implement in a Markdown enhancement but I didn't want to start down that road without checking first, to avoid reinventing the wheel.
I know TDWTF does this. It's absolutely possible with a font-based emoji pack.
Here's our emoji pack for FontAwesome (yes, it's just the json file):
Be aware that as defined here you need to service the hook: https://github.com/NodeBB/nodebb-plugin-emoji/blob/master/README.md#hook-filteremojipacks
You can also embed it within the plugin library like here: https://github.com/NodeBB-Community/nodebb-plugin-emoji-vital/blob/master/emoji.js