markedjs / marked

A markdown parser and compiler. Built for speed.
https://marked.js.org
Other
33.2k stars 3.39k forks source link

Support Telegram Emoji HTML #3536

Open ZephyrPhrost opened 4 days ago

ZephyrPhrost commented 4 days ago

Hello, is the emoji part supported when parsing markdown?

https://core.telegram.org/bots/api#html-style

e.g: ![👍](tg://emoji?id=5368324170671202286) to <tg-emoji emoji-id="5368324170671202286">👍</tg-emoji>

UziTech commented 4 days ago

You will have to create an extension for this. Or check the known extensions to see if someone else made one that will work for you.