Rendering Emoji Shortcodes #691
taylorskalyo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
GitHub and others support adding emojis by typing shortcodes. It's been stated elsewhere that this feature is unlikely to be added to render-markdown.nvim, but I wanted to experiment with it anyway. Below is a proof of concept implementation using a custom handler. Hopefully someone finds this useful :)
Configuration
Script to generate emoji mapping
Requirements
You need a terminal and font that support emojis. Here I was using the foot terminal with:
Limitations
All reactions