From a3fea258902a3bca72f0dc197445fde0e8a6a055 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 24 Jan 2018 22:17:12 +0100 Subject: [PATCH] Update examples --- docs/source/resources/TextFormatting.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 )