Open haykam821 opened 2 years ago
Wouldn't it be optimal if Matterbridge converted all messages to HTML before relaying them? Making due adjustments for each platform for unsupported HTML tags, etc.? Do you think it would it add lag or take too much system resources?
We could convert unsupported tags to some custom markings, perhaps even configurable, on the various different platforms.
CommonMark defines
**
as indicating strong emphasis:However, Matterbridge instead uses
*
to format strong emphasis in messages being sent from Telegram, which actually indicates normal emphasis alongside_
:https://github.com/42wim/matterbridge/blob/c5e49eec96a8b03786d679afa35c58952d0269a7/bridge/telegram/handlers.go#L523-L527