2 * Add the image file(s) to `priv/static/emoji/custom`
3 * In case of conflicts: add the desired shortcode with the path to `config/custom_emoji.txt`, comma-separated and one per line
4 * Force recompilation (``mix clean && mix compile``)
8 image files (in `/priv/static/emoji/custom`): `happy.png` and `sad.png`
10 content of `config/custom_emoji.txt`:
12 happy, /emoji/custom/happy.png
13 sad, /emoji/custom/sad.png
16 The files should be PNG (APNG is okay with `.png` for `image/png` Content-type) and under 50kb for compatibility with mastodon.