File size: 2,863 Bytes
745e7ed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
define({
'name' : 'Markdown',
'sub-menu' : [
{
'name' : 'Documentation',
'external-link' : 'https://help.github.com/articles/github-flavored-markdown/',
},
'---',
{
'name' : 'Insert itemized list',
'snippet' : [
'* One',
' - Sublist',
' - This',
' - Sublist',
' - That',
' - The other thing',
'* Two',
' - Sublist',
'* Three',
' - Sublist',
],
},
{
'name' : 'Insert enumerated list',
'snippet' : [
'1. Here we go',
' 1. Sublist',
' 2. Sublist',
'2. There we go',
'3. Now this',
],
},
{
'name' : 'Insert table',
'snippet' : [
'<table>',
' <tr>',
' <th>Header 1</th>',
' <th>Header 2</th>',
' </tr>',
' <tr>',
' <td>row 1, cell 1</td>',
' <td>row 1, cell 2</td>',
' </tr>',
' <tr>',
' <td>row 2, cell 1</td>',
' <td>row 2, cell 2</td>',
' </tr>',
'</table>',
],
},
{
'name' : 'Insert local image',
'snippet' : [
'<img src="image_file_in_this_directory.svg" />',
],
},
{
'name' : 'Insert local video',
'snippet' : [
'<video controls src="video_file_in_this_directory.m4v" />',
],
},
{
'name' : 'Insert remote image',
'snippet' : [
'<img src="http://some.site.org/image.jpg" />',
],
},
{
'name' : 'Insert remote video',
'snippet' : [
'<video controls src="http://some.site.org/video.m4v" />',
],
},
{
'name' : 'Insert inline math',
'snippet' : ['$e^{i\\pi} + 1 = 0$',],
},
{
'name' : 'Insert equation',
'snippet' : [
'\\begin{equation}',
' e^x = \\sum_{j=0}^{\\infty} \\frac{1}{j!} x^j',
'\\end{equation}',
],
},
{
'name' : 'Insert aligned equation',
'snippet' : [
'\\begin{align}',
' a &= b \\\\',
' c &= d \\\\',
' e &= f',
'\\end{align}',
],
},
],
});
|