Tdesktop: Markdown on Desktop

Created on 11 Feb 2016  Â·  9Comments  Â·  Source: telegramdesktop/tdesktop

Odd behavior with Markdown on the Linux desktop client:
When using the @bold bot, formatting works fine. The backtick formatting works perfectly, as well.

However, using asterisks and underscores (as shown in the @bold bot's suggestions window) does not seem to work on the desktop client.

api issue

Most helpful comment

There already is partial markdown support like inline code with backticks and code blocks. I don't understand how bots are allowed to use more markdown (bold, italic) than humans.

All 9 comments

@Derpford Bold and italic can be done only through bot, no way to send them from user (you can check other Telegram apps), it is serverside.

Is there any reason we can't have it inline?

It seems we don't have inline support because "it will complicate everything"

The irony is that it's actually more complicated for the end user to use a bot.

To be fair, replacing certain symbols with formatted text is kind of
advanced. But the Telegram team seems to be good at this whole coding thing.

On Wed, Jun 22, 2016, 10:48 AM Nelson A. de Oliveira <
[email protected]> wrote:

It seems we don't have inline support because "it will complicate
everything"
https://github.com/telegramdesktop/tdesktop/issues/330#issuecomment-67250488

The irony is that it's actually more complicated for the end user to use a
bot.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/telegramdesktop/tdesktop/issues/1593#issuecomment-227787332,
or mute the thread
https://github.com/notifications/unsubscribe/AJtzx-78qWzoqFuSvHSnsTZr4o3L9xkGks5qOVlOgaJpZM4HX2US
.

There already is partial markdown support like inline code with backticks and code blocks. I don't understand how bots are allowed to use more markdown (bold, italic) than humans.

Recently whatsapp added inline markdown support. It's feeling really odd that whatsapp is ahead on something this comfortable...

Anyway, even if client tries to send markdown encoded properly it will be removed by server.
So it's api issue.

Sounds strange.. Why not just to send a raw text through server and after at the client side do the remaining graphical work?

this app convert markdowns automatically
https://github.com/UnigramDev/Unigram

Was this page helpful?
0 / 5 - 0 ratings