From 901c6d876193bd849082b9b4a380c8d2d3dc96ef Mon Sep 17 00:00:00 2001 From: David Rosa Date: Thu, 20 Jul 2023 20:33:05 -0500 Subject: [PATCH] help: Offer links to "Message formatting" for logged in users. - Replaces instructions for opening the message formatting reference with `{relative|gear|message-formatting}`. --- help/format-your-message-using-markdown.md | 9 ++++++--- zerver/lib/markdown/help_relative_links.py | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/help/format-your-message-using-markdown.md b/help/format-your-message-using-markdown.md index 07f375ed7d..b58ae14522 100644 --- a/help/format-your-message-using-markdown.md +++ b/help/format-your-message-using-markdown.md @@ -130,10 +130,13 @@ A summary of the formatting syntax above is available in the Zulip app. {start_tabs} -{!start-composing.md!} +{relative|gear|message-formatting} -1. Click the **question mark** () icon at the - bottom of the compose box. +!!! tip "" + + You can also [open the compose box](/help/open-the-compose-box), and click + the **question mark** () icon at the bottom of + the compose box. {end_tabs} diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py index 28a8423cd3..a9589bca56 100644 --- a/zerver/lib/markdown/help_relative_links.py +++ b/zerver/lib/markdown/help_relative_links.py @@ -27,6 +27,7 @@ gear_info = { "billing": ["Billing", "/billing/"], "invite": ["Invite users", "/#invite"], "keyboard-shortcuts": ["Keyboard shortcuts (?)", "/#keyboard-shortcuts"], + "message-formatting": ["Message formatting", "/#message-formatting"], "about-zulip": ["About Zulip", "/#about-zulip"], }