mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: docs: Add warning regarding markdown text formatting
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
c4b587b493
commit
4926eda4c5
1 changed files with 7 additions and 1 deletions
|
|
@ -47,6 +47,12 @@ list of the basic styles currently supported by Pyrofork.
|
||||||
Markdown Style
|
Markdown Style
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
The Markdown style is not recommended for complex text formatting.
|
||||||
|
If you want to use complex text formatting such as nested entities, overlapping entities use the HTML style instead.
|
||||||
|
|
||||||
|
|
||||||
To strictly use this mode, pass :obj:`~pyrogram.enums.ParseMode.MARKDOWN` to the *parse_mode* parameter when using
|
To strictly use this mode, pass :obj:`~pyrogram.enums.ParseMode.MARKDOWN` to the *parse_mode* parameter when using
|
||||||
:meth:`~pyrogram.Client.send_message`. Use the following syntax in your message:
|
:meth:`~pyrogram.Client.send_message`. Use the following syntax in your message:
|
||||||
|
|
||||||
|
|
@ -230,7 +236,7 @@ strike` styles, and you can still combine both Markdown and HTML together.
|
||||||
|
|
||||||
Here there are some example texts you can try sending:
|
Here there are some example texts you can try sending:
|
||||||
|
|
||||||
**Markdown**:
|
**Markdown (Not Recommended)**:
|
||||||
|
|
||||||
- ``**bold, --underline--**``
|
- ``**bold, --underline--**``
|
||||||
- ``**bold __italic --underline ~~strike~~--__**``
|
- ``**bold __italic --underline ~~strike~~--__**``
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue