-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
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:
This should have the same effect as using the context menu:
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
result in
or
?
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.