Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_formatting: Reorder items to prioritize more useful ones.
Satyam Bansal856329bb45fe
diff --git a/web/src/info_overlay.js b/web/src/info_overlay.jsindex fa8d7fa0f5e..effb002ef0e 100644--- a/web/src/info_overlay.js+++ b/web/src/info_overlay.js@@ -21,38 +21,28 @@ import * as util from "./util";export let toggler;const markdown_help_rows = [- {- markdown: "*italic*",- usage_html: "(or <kbd>Ctrl</kbd>+<kbd>I</kbd>)",- },{markdown: "**bold**",usage_html: "(or <kbd>Ctrl</kbd>+<kbd>B</kbd>)",},{- markdown: "~~strikethrough~~",+ markdown: "*italic*",+ usage_html: "(or <kbd>Ctrl</kbd>+<kbd>I</kbd>)",},{- markdown: "[Zulip website](https://zulip.org)",- usage_html: "(or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>L</kbd>)",+ markdown: "~~strikethrough~~",},{- markdown: `\-* Milk-* Tea- * Green tea- * Black tea- * Oolong tea-* Coffee`,+ markdown: ":heart:",},{- markdown: `\-1. Milk-1. Tea-1. Coffee`,+ markdown: "[Zulip website](https://zulip.org)",+ usage_html: "(or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>L</kbd>)",},{- markdown: ":heart:",+ markdown: "#**streamName**",+ output_html: "<p><a>#streamName</a></p>",+ effect_html: "(links to a stream)",},{markdown: "@**Joe Smith**",@@ -71,45 +61,34 @@ const markdown_help_rows = [effect_html: "(notifies all recipients)",},{- markdown: "#**streamName**",- output_html: "<p><a>#streamName</a></p>",- effect_html: "(links to a stream)",+ markdown: `\+* Milk+* Tea+ * Green tea+ * Black tea+ * Oolong tea+* Coffee`,},{- markdown: "/me is busy working",- output_html: '<p><span class="sender_name-in-status">Iago</span> is busy working</p>',+ markdown: `\+1. Milk+1. Tea+1. Coffee`,},{- markdown: `/poll What did you drink this morning?-Milk-Tea-Coffee`,- output_html: `\-<div class="poll-widget">- <h4 class="poll-question-header reduced-font-size">What did you drink this morning?</h4>- <i class="fa fa-pencil poll-edit-question"></i>- <ul class="poll-widget">- <li>- <button class="poll-vote">- 0- </button>- <span>Milk</span>- </li>- <li>- <button class="poll-vote">- 0- </button>- <span>Tea</span>- </li>- <li>- <button class="poll-vote">- 0- </button>- <span>Coffee</span>- </li>- </ul>-</div>-`,+ markdown: "> Quoted",+ },+ {+ markdown: `\+\`\`\`quote+Quoted block+\`\`\``,+ },+ {+ markdown: `\+\`\`\`spoiler Always visible heading+This text won't be visible until the user clicks.+\`\`\``,},{markdown: "Some inline `code`",@@ -146,28 +125,49 @@ def zulip():),},{- markdown: "> Quoted",- },- {- markdown: `\-\`\`\`quote-Quoted block-\`\`\``,+ markdown: "Some inline math $$ e^{i \\pi} + 1 = 0 $$",},{markdown: `\-\`\`\`spoiler Always visible heading-This text won't be visible until the user clicks.+\`\`\`math+\\int_{0}^{1} f(x) dx\`\`\``,},{- markdown: "Some inline math $$ e^{i \\pi} + 1 = 0 $$",+ markdown: "/me is busy working",+ output_html: '<p><span class="sender_name-in-status">Iago</span> is busy working</p>',},{- markdown: `\-\`\`\`math-\\int_{0}^{1} f(x) dx-\`\`\``,+ markdown: `/poll What did you drink this morning?+Milk+Tea+Coffee`,+ output_html: `\+<div class="poll-widget">+ <h4 class="poll-question-header reduced-font-size">What did you drink this morning?</h4>+ <i class="fa fa-pencil poll-edit-question"></i>+ <ul class="poll-widget">+ <li>+ <button class="poll-vote">+ 0+ </button>+ <span>Milk</span>+ </li>+ <li>+ <button class="poll-vote">+ 0+ </button>+ <span>Tea</span>+ </li>+ <li>+ <button class="poll-vote">+ 0+ </button>+ <span>Coffee</span>+ </li>+ </ul>+</div>+`,},{markdown: "---",