Skip to content

Commit 4926eda

Browse files
committed
pyrofork: docs: Add warning regarding markdown text formatting
Signed-off-by: wulan17 <wulan17@nusantararom.org>
1 parent c4b587b commit 4926eda

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/topics/text-formatting.rst

Lines changed: 7 additions & 1 deletion
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

@@ -230,7 +236,7 @@ strike` styles, and you can still combine both Markdown and HTML together.
230236

231237
Here there are some example texts you can try sending:
232238

233-
**Markdown**:
239+
**Markdown (Not Recommended)**:
234240

235241
- ``**bold, --underline--**``
236242
- ``**bold __italic --underline ~~strike~~--__**``

0 commit comments

Comments
 (0)