Ghost/core/client/templates/modals/markdown.hbs

73 lines
2.2 KiB
Handlebars
Raw Normal View History

{{#gh-modal-dialog action="closeModal" showClose=true style="wide" animation="fade"
2014-03-31 08:07:05 +04:00
title="Markdown Help"}}
<section class="markdown-help-container">
<table class="modal-markdown-help-table">
<thead>
<tr>
<th>Result</th>
<th>Markdown</th>
<th>Shortcut</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Bold</strong></td>
<td>**text**</td>
<td>Ctrl/⌘ + B </td>
2014-03-31 08:07:05 +04:00
</tr>
<tr>
<td><em>Emphasize</em></td>
<td>*text*</td>
<td>Ctrl/⌘ + I</td>
2014-03-31 08:07:05 +04:00
</tr>
<tr>
<td><del>Strike-through</del></td>
2014-03-31 08:07:05 +04:00
<td>~~text~~</td>
<td>Ctrl + Alt + U</td>
</tr>
<tr>
<td><a href="#">Link</a></td>
<td>[title](http://)</td>
<td>Ctrl/⌘ + K</td>
</tr>
<tr>
<td><code>Inline Code</code></td>
<td>`code`</td>
<td>Ctrl/⌘ + Shift + K</td>
2014-03-31 08:07:05 +04:00
</tr>
<tr>
<td>Image</td>
<td>![alt](http://)</td>
<td>Ctrl/⌘ + Shift + I</td>
2014-03-31 08:07:05 +04:00
</tr>
<tr>
<td>List</td>
<td>* item</td>
<td>Ctrl + L</td>
</tr>
<tr>
<td>Blockquote</td>
<td>> quote</td>
<td>Ctrl + Q</td>
</tr>
<tr>
<td>H1</td>
<td># Heading</td>
<td>Ctrl + Alt + 1</td>
</tr>
<tr>
<td>H2</td>
<td>## Heading</td>
<td>Ctrl + Alt + 2</td>
</tr>
<tr>
<td>H3</td>
<td>### Heading</td>
<td>Ctrl + Alt + 3</td>
</tr>
</tbody>
</table>
For further Markdown syntax reference: <a href="http://daringfireball.net/projects/markdown/syntax" target="_blank">Markdown Documentation</a>
</section>
{{/gh-modal-dialog}}