Skip to content
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

Support Quotes using Telegram's Markdown Syntax #27772

Open
JosXa opened this issue Apr 17, 2024 · 13 comments
Open

Support Quotes using Telegram's Markdown Syntax #27772

JosXa opened this issue Apr 17, 2024 · 13 comments

Comments

@JosXa
Copy link

JosXa commented Apr 17, 2024

Is your feature request related to a problem?

Most other text formatting options have corresponding markdown formatting symbols you can use as alternatives to hotkeys and the context menu. Quotes apparently do not.

Highlighting text to be affected by the hotkey and the context menu both take more time and effort than necessary, while typing Telegram's variant of markdown becomes very convenient with practice.

Describe the solution you'd like

Quoting some arbitrary text should be possible using the > ... syntax at the beginning of one or consecutive lines:

image
⬇️
image

This should have the same effect as using the context menu:
image


I shall put it up for discussion whether the quotation symbol must be used in otherwise empty lines to achieve multiline highlighting, i.e. should
image
result in
image
or
image
?

Describe alternatives you've considered

Creating a userbot to apply the formatting entities for me.

Additional context

I'd suggest to make the regular expression work only on the beginning of each line, meaning naively something like ^(>|\>)(\s?)(.*$). This doesn't handle multiline quotes correctly yet.

@KyNorthstar
Copy link

I support this fully and find it appalling how this doesn't exist on any official client.

They could even double it up like all the existing formatting (except inline code) and use >> for quotes

**bold**
__italic__
~~strikethrough~~
||spoiler||
>> quote
`code`

Fits right in.

Oddly this points out to me there's nothing for underline and links. I'm not itching for those, at least. Quotes feel much more appropriate for markup anyway

@hexus
Copy link

hexus commented Jun 26, 2024

Funnily enough, I just found myself trying to do both > and >> to quote and it didn't work, so I searched it and ended up here.

+1, yes please! I think the doubled up >> characters would probably make the most sense, considering all of the others, as mentioned above.

@roman-w3lifer-grinyov
Copy link

+1

@mshornikov
Copy link

Funnily enough, I just found myself trying to do both > and >> to quote and it didn't work, so I searched it and ended up here.

+1, yes please! I think the doubled up >> characters would probably make the most sense, considering all of the others, as mentioned above.

Same thing, I think this feature needs to be added

@Eduruiz
Copy link

Eduruiz commented Oct 24, 2024

+1

8 similar comments
@123SONIC321
Copy link

+1

@Kolterdyx
Copy link

+1

@Darveivoldavara
Copy link

+1

@absid89
Copy link

absid89 commented Nov 25, 2024

+1

@se3now
Copy link

se3now commented Dec 3, 2024

+1

@0x00101010
Copy link

+1

@chathurangac91
Copy link

+1

@sudoalx
Copy link

sudoalx commented Dec 29, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests