You’re not receiving notifications from this thread.
Markdown/Emoji : how to host images?
I watched https://gorails.com/episodes/markdown-emoji-with-html-pipeline-gem and I'm wondering 2 things :
- Where did you find the asset_root of the emoji images?
- How do you use your own Emoji files instead of using an external link? I tried it several ways but I can't find one that works
I can't remember where I grabbed that from exactly, but some documentation somewhere. If you want to host your own, check out https://github.com/HenrikJoreteg/emoji-images and you can serve up the pngs folder in your app. Of course, you'll want to put those in your public directory and not the asset pipeline so they stay the same filenames and don't get compiled.
Hi @chris, I'm having hard time figuring out how to host the folder in my app. should I install the npm package from here https://github.com/HenrikJoreteg/emoji-images in my app?!