mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d
. The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
31 lines
1.3 KiB
Handlebars
31 lines
1.3 KiB
Handlebars
<div class="overlay-modal hide" id="message-formatting" tabindex="-1" role="dialog"
|
|
aria-label="{{t "Message formatting" }}">
|
|
<div class="modal-body" data-simplebar data-simplebar-auto-hide="false">
|
|
<div id="markdown-instructions">
|
|
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
|
|
<thead>
|
|
<tr>
|
|
<th>{{t "You type" }}</th>
|
|
<th>{{t "You get" }}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{{#each markdown_help_rows}}
|
|
<tr>
|
|
{{#if note_html}}
|
|
<td colspan="2">{{{note_html}}}</td>
|
|
{{else}}
|
|
<td><div class="preserve_spaces">{{markdown}}</div> {{{usage_html}}}</td>
|
|
<td class="rendered_markdown">{{{output_html}}} {{{effect_html}}}</td>
|
|
{{/if}}
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<hr />
|
|
<a href="/help/format-your-message-using-markdown" target="_blank" rel="noopener noreferrer">{{t "Detailed message formatting documentation" }}</a>
|
|
</div>
|
|
</div>
|