Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Update "View message Markdown source".

David Rosa15bfe661097d
diff --git a/help/view-the-markdown-source-of-a-message.md b/help/view-the-markdown-source-of-a-message.md
index 7f4b00a7a8f..fc4dfc7d043 100644
--- a/help/view-the-markdown-source-of-a-message.md
+++ b/help/view-the-markdown-source-of-a-message.md
@@ -7,9 +7,39 @@ formatted, or to copy the Markdown source for a reply.
{start_tabs}
+{tab|desktop-web}
+
{!message-actions-menu.md!}
-3. Click **View message source**.
+1. Click **View message source**. You will not see the **View message source**
+ menu option for editable messages that you have sent.
+
+!!! keyboard_tip ""
+
+ You can also use the <kbd>E</kbd> shortcut to view the Markdown source of the
+ selected message.
+
+{end_tabs}
+
+### Copy the Markdown source of a message to your clipboard
+
+{start_tabs}
+
+{tab|desktop-web}
+
+{!message-actions-menu.md!}
+
+1. Click **View message source**. You will not see the **View message source**
+ menu option for editable messages that you have sent.
+
+1. Click the **Copy and close**
+ ( <img src="/static/images/help/copy_to_clipboard.svg" alt="copy" class="mobile-icon"/>)
+ widget in the upper right corner of the message.
+
+!!! keyboard_tip ""
+
+ You can also use the <kbd>E</kbd> shortcut to view the Markdown source of the
+ selected message.
{end_tabs}
diff --git a/static/images/help/copy_to_clipboard.svg b/static/images/help/copy_to_clipboard.svg
new file mode 100644
index 00000000000..d14cdde6f94
--- /dev/null
+++ b/static/images/help/copy_to_clipboard.svg
@@ -0,0 +1,3 @@
+<svg viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg">
+ <path fill="#777" d="M128 768h256v64H128v-64z m320-384H128v64h320v-64z m128 192V448L384 640l192 192V704h320V576H576z m-288-64H128v64h160v-64zM128 704h160v-64H128v64z m576 64h64v128c-1 18-7 33-19 45s-27 18-45 19H64c-35 0-64-29-64-64V192c0-35 29-64 64-64h192C256 57 313 0 384 0s128 57 128 128h192c35 0 64 29 64 64v320h-64V320H64v576h640V768zM128 256h512c0-35-29-64-64-64h-64c-35 0-64-29-64-64s-29-64-64-64-64 29-64 64-29 64-64 64h-64c-35 0-64 29-64 64z" />
+</svg>