Syntax highlighting in code blocks - markdown (md) support
Thanks to Syntax highlighting in code blocks #824 now we are able to highlight different languages with code blocks, but it doesn't work with markdown!
Telegram has it's own (stripped) markdown engine, which really supports lack of features in comparison with Github's markdown engine (see https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)
It would be really great if
NOTE: telegram should save the original text value for these code blocks, thus we could transfer it to any .md file (or to https://gist.github.com)
Example:
```markdown # A first-level heading ## A second-level heading ### A third-level heading ```
Should render something like this:
https://docs.github.com/assets/cb-11407/mw-1440/images/help/writing/headings-rendered.webp
And if you copy this code block, telegram copies original text.
With this feature users could share any markdown! Now I have to use https://gist.github.com to do this...
Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.
We've just sent you a message.Please confirm access via Telegram