init
This commit is contained in:
6
snippets/markdown-mode/back-quote
Normal file
6
snippets/markdown-mode/back-quote
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Inline Code
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: `
|
||||
# --
|
||||
\`${1:Code}\` $0
|
||||
7
snippets/markdown-mode/code
Normal file
7
snippets/markdown-mode/code
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Code block
|
||||
# key: code
|
||||
# --
|
||||
\`\`\`$1
|
||||
$0
|
||||
\`\`\`
|
||||
6
snippets/markdown-mode/emphasis
Normal file
6
snippets/markdown-mode/emphasis
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Emphasis
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: _
|
||||
# --
|
||||
_${1:Text}_ $0
|
||||
8
snippets/markdown-mode/h1.1
Normal file
8
snippets/markdown-mode/h1.1
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 1 (#)
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h1
|
||||
# --
|
||||
# ${1:Header 1} #
|
||||
|
||||
$0
|
||||
9
snippets/markdown-mode/h1.2
Normal file
9
snippets/markdown-mode/h1.2
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 1 (=)
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h1
|
||||
# --
|
||||
${1:Header 1}
|
||||
${1:$(make-string (string-width yas-text) ?\=)}
|
||||
|
||||
$0
|
||||
8
snippets/markdown-mode/h2.1
Normal file
8
snippets/markdown-mode/h2.1
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 2 (##)
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h2
|
||||
# --
|
||||
## ${1:Header 1} ##
|
||||
|
||||
$0
|
||||
9
snippets/markdown-mode/h2.2
Normal file
9
snippets/markdown-mode/h2.2
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 2 (-)
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h2
|
||||
# --
|
||||
${1:Header 2}
|
||||
${1:$(make-string (string-width yas-text) ?\-)}
|
||||
|
||||
$0
|
||||
8
snippets/markdown-mode/h3
Normal file
8
snippets/markdown-mode/h3
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 3
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h3
|
||||
# --
|
||||
### ${1:Header 3} ###
|
||||
|
||||
$0
|
||||
8
snippets/markdown-mode/h4
Normal file
8
snippets/markdown-mode/h4
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 4
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h4
|
||||
# --
|
||||
#### ${1:Header 4} ####
|
||||
|
||||
$0
|
||||
8
snippets/markdown-mode/h5
Normal file
8
snippets/markdown-mode/h5
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 5
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h5
|
||||
# --
|
||||
##### ${1:Header 5} #####
|
||||
|
||||
$0
|
||||
8
snippets/markdown-mode/h6
Normal file
8
snippets/markdown-mode/h6
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Header 6
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: h6
|
||||
# --
|
||||
###### ${1:Header 6} ######
|
||||
|
||||
$0
|
||||
8
snippets/markdown-mode/highlight
Normal file
8
snippets/markdown-mode/highlight
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Highlight
|
||||
# contributor: nguyenvinhlinh <nguyenvinhlinh93@gmail.com>
|
||||
# key: highlight
|
||||
# --
|
||||
{% highlight ${1:language} %}
|
||||
${0:content}
|
||||
{% endhighlight %}
|
||||
9
snippets/markdown-mode/hr.1
Normal file
9
snippets/markdown-mode/hr.1
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Horizontal Rule (-)
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: hr
|
||||
# --
|
||||
|
||||
----------
|
||||
|
||||
$0
|
||||
9
snippets/markdown-mode/hr.2
Normal file
9
snippets/markdown-mode/hr.2
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Horizontal Rule (*)
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: hr
|
||||
# --
|
||||
|
||||
*******
|
||||
|
||||
$0
|
||||
7
snippets/markdown-mode/hyphen
Normal file
7
snippets/markdown-mode/hyphen
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Unordered List -
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: -
|
||||
# --
|
||||
- ${1:Text}
|
||||
- $0
|
||||
6
snippets/markdown-mode/img
Normal file
6
snippets/markdown-mode/img
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Image
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: img
|
||||
# --
|
||||
 $0
|
||||
6
snippets/markdown-mode/link
Normal file
6
snippets/markdown-mode/link
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Link
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: link
|
||||
# --
|
||||
[${1:Link Text}](${2:URL} $3) $0
|
||||
7
snippets/markdown-mode/ordered-list
Normal file
7
snippets/markdown-mode/ordered-list
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Ordered List
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: ol
|
||||
# --
|
||||
${1:1}. ${2:Text}
|
||||
${1:$(number-to-string (1+ (string-to-number yas-text)))}. $0
|
||||
7
snippets/markdown-mode/plus
Normal file
7
snippets/markdown-mode/plus
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Unordered List +
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: +
|
||||
# --
|
||||
+ ${1:Text}
|
||||
+$0
|
||||
6
snippets/markdown-mode/rimg
Normal file
6
snippets/markdown-mode/rimg
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Referenced Image
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: rimg
|
||||
# --
|
||||
![${1:Alt Text}][$2] $0
|
||||
7
snippets/markdown-mode/rlb
Normal file
7
snippets/markdown-mode/rlb
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Reference Label
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: rlb
|
||||
# --
|
||||
[${1:Reference}]: ${2:URL} $3
|
||||
$0
|
||||
6
snippets/markdown-mode/rlink
Normal file
6
snippets/markdown-mode/rlink
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Reference Link
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: rlink
|
||||
# --
|
||||
[${1:Link Text}][$2] $0
|
||||
6
snippets/markdown-mode/strong-emphasis
Normal file
6
snippets/markdown-mode/strong-emphasis
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Strong emphasis
|
||||
# contributor: Peng Deng <dengpeng@gmail.com>
|
||||
# key: __
|
||||
# --
|
||||
**${1:Text}** $0
|
||||
7
snippets/markdown-mode/utf8
Normal file
7
snippets/markdown-mode/utf8
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: UTF-8 encoding
|
||||
# key: utf8
|
||||
# contributor: Thiago Perrotta
|
||||
# --
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
|
||||
$0
|
||||
Reference in New Issue
Block a user