-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeBlock ... #26999
Comments
My telegram bot exclusively sends markdown messages. The message content is ASCII tables, JSON, and lots of numbers, all of which benefit visually from markdown's monospace font. The 4.11 update has added a "copy" UI to every markdown message which is obtrusive and ugly. Please make the "copy" UI optional, or less prominent, on markdown messages. Potential solutions:
|
There are two monospace format options in Telegram, one is blocks of monospace, others are inline parts of monospace. If you use the inline type (sent in single ticks ` or somehow else) then it'll look like before. The block type got this upgrade with the header, single-click copy and a dedicated area. The option to convert block type ones to old layout isn't planned. |
So to send the old "part of text is monospace" messages you can send them as inline-monospace tags. |
With single and triples quotes all are clear. But how to send multiline code block without new copy bloc? tg.mp4 |
Monospace formatting in the menu is flawed, because it tries to guess which one to use. Generally it uses block type formatting if you selected some amount of paragraphs (both edges of the selected block are at a newline) and inline type in case it intersects some line. But this doesn't work very well, so it is easier to use the ticks. |
Well, this is like surrounding each line in single quotes. Message input field doesn't support that (the fact that you got it for full lines selection looks like a bug, it should've been block monospace part). |
Got it - thank you. |
Is your feature request related to a problem?
Describe the solution you'd like
... please a Toggle / Switcher to turn ON or OFF the new CodeBLock, Thanks, it look not good in every Messages or ChannelDescription (see PIC) :)
SORRY MY ENGLISH, IAM GERMAN ...
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: