Skip to content

Commit 541f512

Browse files
committed
pyrofork: docs: Add warning regarding markdown text formatting
Signed-off-by: wulan17 <wulan17@nusantararom.org>
1 parent 57479d3 commit 541f512

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/source/topics/text-formatting.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ list of the basic styles currently supported by Pyrofork.
4747
Markdown Style
4848
--------------
4949

50+
.. warning::
51+
52+
The Markdown style is not recommended for complex text formatting.
53+
If you want to use complex text formatting such as nested entities, overlapping entities use the HTML style instead.
54+
55+
5056
To strictly use this mode, pass :obj:`~pyrogram.enums.ParseMode.MARKDOWN` to the *parse_mode* parameter when using
5157
:meth:`~pyrogram.Client.send_message`. Use the following syntax in your message:
5258

0 commit comments

Comments
 (0)