2016-05-11 06:37:54 +00:00
|
|
|
<!-- help modal -->
|
|
|
|
<div class="modal fade help-modal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span>
|
|
|
|
</button>
|
2016-08-19 03:49:24 +00:00
|
|
|
<h4 class="modal-title" id="mySmallModalLabel"><i class="fa fa-question-circle"></i> <%= __('Help') %></h4>
|
2016-05-11 06:37:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2016-08-19 03:49:24 +00:00
|
|
|
<h3 class="panel-title"><%= __('Contacts') %></h3>
|
2016-05-11 06:37:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2016-08-19 03:49:24 +00:00
|
|
|
<a href="https://github.com/hackmdio/hackmd/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a>
|
2016-05-11 06:37:54 +00:00
|
|
|
<br>
|
2016-08-19 03:49:24 +00:00
|
|
|
<a href="mailto:hackmdio@gmail.com"><i class="fa fa-envelope fa-fw"></i> <%= __('Send us email') %></a>
|
2016-05-11 06:37:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2016-08-19 03:49:24 +00:00
|
|
|
<h3 class="panel-title"><%= __('Documents') %></h3>
|
2016-05-11 06:37:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2016-08-19 03:49:24 +00:00
|
|
|
<a href="./features" title="Features" target="_blank"><i class="fa fa-dot-circle-o fa-fw"></i> <%= __('Features') %></a>
|
2016-05-11 06:37:54 +00:00
|
|
|
<br>
|
2016-08-19 03:49:24 +00:00
|
|
|
<a href="./yaml-metadata" title="YAML Metadata" target="_blank"><i class="fa fa-dot-circle-o fa-fw"></i> <%= __('YAML Metadata') %></a>
|
2016-05-11 06:37:54 +00:00
|
|
|
<br>
|
2016-08-19 03:49:24 +00:00
|
|
|
<a href="./slide-example" title="Slide Example" target="_blank"><i class="fa fa-dot-circle-o fa-fw"></i> <%= __('Slide Example') %></a>
|
2016-05-11 06:37:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-9">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2016-08-19 03:49:24 +00:00
|
|
|
<h3 class="panel-title"><%= __('Cheatsheet') %></h3>
|
2016-05-11 06:37:54 +00:00
|
|
|
</div>
|
2016-06-17 08:19:16 +00:00
|
|
|
<div class="panel-body" style="height: calc(100vh - 215px); overflow: auto;">
|
2016-09-18 09:05:07 +00:00
|
|
|
<table class="table table-condensed table-cheatsheet">
|
2016-05-11 06:37:54 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<th><%= __('Example') %></th>
|
|
|
|
<th><%= __('Syntax') %></th>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody class="markdown-body" style="font-family: inherit; font-size: 14px; padding: 0; max-width: inherit;">
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><%= __('Header') %></td>
|
|
|
|
<td># <%= __('Header') %></td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><ul><li><%= __('Unordered List') %></li></ul></td>
|
|
|
|
<td>- <%= __('Unordered List') %></td>
|
2016-08-01 08:00:37 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><ol><li><%= __('Ordered List') %></li></ol></td>
|
|
|
|
<td>1. <%= __('Ordered List') %></td>
|
2016-08-01 08:00:37 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><ul><li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled><label></label><%= __('Todo List') %></li></ul></td>
|
|
|
|
<td>- [ ] <%= __('Todo List') %></td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><blockquote> <%= __('Blockquote') %></blockquote></td>
|
|
|
|
<td>> <%= __('Blockquote') %></td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><strong><%= __('Bold font') %></strong></td>
|
|
|
|
<td>**<%= __('Bold font') %>**</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><i><%= __('Italics font') %></i></td>
|
|
|
|
<td>*<%= __('Italics font') %>*</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><s><%= __('Strikethrough') %></s></td>
|
|
|
|
<td>~~<%= __('Strikethrough') %>~~</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>19<sup>th</sup></td>
|
|
|
|
<td>19^th^</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>H<sub>2</sub>O</td>
|
|
|
|
<td>H~2~O</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><ins><%= __('Inserted text') %></ins></td>
|
|
|
|
<td>++<%= __('Inserted text') %>++</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><mark><%= __('Marked text') %></mark></td>
|
|
|
|
<td>==<%= __('Marked text') %>==</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><a><%= __('Link') %></a></td>
|
2016-08-01 08:00:37 +00:00
|
|
|
<td>[link text](https:// "title")</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><%= __('Image') %></td>
|
2016-08-01 08:00:37 +00:00
|
|
|
<td>![image alt](https:// "title")</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><code><%= __('Code') %></code></td>
|
|
|
|
<td>`<%= __('Code') %>`</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><pre style="border:none !important;"><code class="javascript hljs"><div class="wrapper"><div class="gutter linenumber"><span data-linenumber="1"></span></div><div class="code"><span class="hljs-keyword">var</span> i = <span class="hljs-number">0</span>;
|
|
|
|
</div></div></code></pre></td>
|
|
|
|
<td>```javascript<br>var i = 0;<br>```</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-10-19 14:12:12 +00:00
|
|
|
<td><img align="absmiddle" alt=":smile:" class="emoji" src="./vendor/emojify.js/dist/images/basic/smile.png" title=":smile:"></img></td>
|
2016-05-11 06:37:54 +00:00
|
|
|
<td>:smile:</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><%= __('Externals') %></td>
|
2016-05-11 06:37:54 +00:00
|
|
|
<td>{%youtube youtube_id %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>L<sup>a</sup>T<sub>e</sub>X</td>
|
|
|
|
<td>$L^aT_eX$</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-08-19 03:49:24 +00:00
|
|
|
<td><div class="alert alert-info"><p><%= __('This is a alert area.') %></p></div></td>
|
|
|
|
<td>:::info<br><%= __('This is a alert area.') %><br>:::</td>
|
2016-05-11 06:37:54 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-18 09:05:07 +00:00
|
|
|
</div>
|
|
|
|
<style>
|
|
|
|
table.table-cheatsheet tr > td:nth-child(2) {
|
|
|
|
font-family: "Source Code Pro", Consolas, monaco, monospace;
|
|
|
|
letter-spacing: 0.025em;
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
</style>
|