xoofx / markdig

A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET
BSD 2-Clause "Simplified" License
4.37k stars 453 forks source link

Add support for converting from/to Telegram MarkdownV2 #727

Closed Laiteux closed 1 year ago

Laiteux commented 1 year ago

(Idea)

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

xoofx commented 1 year ago

I will decline. This is out of scope and can be developed outside of this repo (with maybe some markdig extensions) but it is also unclear if MarkdownV2 is actually a CommonMark compliant parser.

MihaZupan commented 1 year ago

This feels like something that could be exposed as part of https://github.com/TelegramBots/Telegram.Bot. I'm pretty sure implementations of the "API representation => Markdown" conversion already exist. Feel free to ask in the telegram group of that project.