Slackbot
05/23/2023, 3:47 PMDavid Balatero
05/23/2023, 3:48 PM:my-custom-emoji-name:
as plaintext?Cameron Perry
05/23/2023, 3:50 PM<picture ...>
with a URL to the custom emoji image file and GitHub UI will render itDavid Balatero
05/23/2023, 3:51 PMDavid Balatero
05/23/2023, 3:51 PM<picture>
just meant to be display: inline
with text, as opposed to <img>
?Cameron Perry
05/23/2023, 3:53 PM<picture data-single-emoji=":seal-clap:" title=":seal-clap:"><img class="emoji" width="20" height="auto" src="<https://single-emoji.vercel.app/api/emoji/eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..UXG9W2HoeMxnQpHr.IF9TmzgIP_G4zSbfdjdkW0JypylvtqgrK5lJQTJPqam83fnEsIph0-E7Q91JyWW5lNUDbjZTdRvhfc6PNRzXgSHnaOQLqjeo7bcUb60_juUX_XKp816caLYB1ykacwqk.zXNczqnfQbXYX2zWCiA1Qw>" alt=":seal-clap:" align="absmiddle"></picture>
Here is an example of how the Single Emoji app linked above does the markup. That apps works in the GitHub UI through a chrome extension.
It does display inline as you would expect an emoji to, rather than a block image.David Balatero
05/23/2023, 3:53 PMDavid Balatero
05/23/2023, 3:53 PMCameron Perry
05/23/2023, 3:55 PM:seal-clap:
and see the custom emoji in the suggested list like any other emoji. Then, I believe, when you go to submit the comment it does a find/replace of the text :seal-clap:
with the markup aboveDavid Balatero
05/23/2023, 3:55 PMDavid Balatero
05/23/2023, 3:56 PMDavid Balatero
05/23/2023, 3:56 PMDavid Balatero
05/23/2023, 3:56 PMDavid Balatero
05/23/2023, 3:56 PMDavid Balatero
05/23/2023, 3:57 PMCameron Perry
05/23/2023, 3:59 PMwould you prefer to just hook up your slack instance to graphite and ingest the custom emoji from there, if that was possible?Ya I was thinking it would be an automatic ingestion when I first installed the Graphite Slack app. Could be something I toggle on only if desired, or choose which emoji to ingest if there are that many to worry about. My company isn’t that big so not a huge issue for us to sync everything.
David Balatero
05/23/2023, 4:00 PMDavid Balatero
05/23/2023, 4:09 PM