summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorWu Cheng-Han2016-08-01 16:00:37 +0800
committerWu Cheng-Han2016-08-01 16:00:37 +0800
commit881e92b05ada0f95873be509e4e22487043dfe9b (patch)
tree4f9ecb6ad7f72394c766958a9db15766528dfc4b /public
parent46ccf2d0a3dc8f651ad5b49703e70d9dc983ab7b (diff)
Update to make help modal and text complete hint using consistent reminder text
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js10
-rw-r--r--public/views/help-modal.ejs16
2 files changed, 17 insertions, 9 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 9eab93bb..a42f04f5 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -92,7 +92,7 @@ var supportReferrals = [
search: '[]'
},
{
- text: '[reference]: url "title"',
+ text: '[reference]: https:// "title"',
search: '[]:'
},
{
@@ -100,7 +100,7 @@ var supportReferrals = [
search: '[^]'
},
{
- text: '[^footnote reference]: url "title"',
+ text: '[^footnote reference]: https:// "title"',
search: '[^]:'
},
{
@@ -112,7 +112,7 @@ var supportReferrals = [
search: '[][]'
},
{
- text: '[link text](url "title")',
+ text: '[link text](https:// "title")',
search: '[]()'
},
{
@@ -120,11 +120,11 @@ var supportReferrals = [
search: '![][]'
},
{
- text: '![image alt](url "title")',
+ text: '![image alt](https:// "title")',
search: '![]()'
},
{
- text: '![image alt](url "title" =WidthxHeight)',
+ text: '![image alt](https:// "title" =WidthxHeight)',
search: '![]()'
},
{
diff --git a/public/views/help-modal.ejs b/public/views/help-modal.ejs
index 4ee028cf..3a4fe22b 100644
--- a/public/views/help-modal.ejs
+++ b/public/views/help-modal.ejs
@@ -52,8 +52,16 @@
<td># Header</td>
</tr>
<tr>
- <td><ul><li>Unordered List</li></ul><ol><li>Ordered List</li></ol><ul><li class="task-list-item"><input type="checkbox" class="task-list-item-checkbox" disabled><label></label>Todo List</li></ul></td>
- <td>- Unordered List<br>1. Ordered List<br>- [ ] Todo List</td>
+ <td><ul><li>Unordered List</li></ul></td>
+ <td>- Unordered List</td>
+ </tr>
+ <tr>
+ <td><ol><li>Ordered List</li></ol></td>
+ <td>1. Ordered List</td>
+ </tr>
+ <tr>
+ <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>
</tr>
<tr>
<td><blockquote> Blockquote</blockquote></td>
@@ -89,11 +97,11 @@
</tr>
<tr>
<td><a>Link</a></td>
- <td>[title](http://)</td>
+ <td>[link text](https:// "title")</td>
</tr>
<tr>
<td>Image</td>
- <td>![alt](http:// "title")</td>
+ <td>![image alt](https:// "title")</td>
</tr>
<tr>
<td><code>Code</code></td>