diff --git a/docs/source/resources/TextFormatting.rst b/docs/source/resources/TextFormatting.rst
index d17ab8e8..976bd8c6 100644
--- a/docs/source/resources/TextFormatting.rst
+++ b/docs/source/resources/TextFormatting.rst
@@ -59,11 +59,11 @@ Examples
client.send_message(
chat_id="me",
text=(
- "**bold**\n"
- "__italic__\n"
- "[mention](tg://user?id=23122162)\n"
- "[url](https://pyrogram.ml)\n"
- "`code`\n"
+ "**bold**, "
+ "__italic__, "
+ "[mention](tg://user?id=23122162), "
+ "[url](https://pyrogram.ml), "
+ "`code`"
)
)
@@ -91,12 +91,12 @@ Examples
client.send_message(
chat_id="me",
text=(
- "bold, bold\n"
- "italic, italic\n"
- "inline URL\n"
- "inline mention of a user\n"
- "inline fixed-width code
\n"
- "
pre-formatted fixed-width code block\n" + "bold, bold, " + "italic, italic, " + "inline URL, " + "inline mention of a user, " + "
inline fixed-width code
, "
+ "pre-formatted fixed-width code block" ), parse_mode=ParseMode.HTML )