diff options
Diffstat (limited to '')
21 files changed, 112 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/markdown-mode/+ b/emacs.d/snippets/text-mode/markdown-mode/+ new file mode 100644 index 0000000..0407169 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/+ @@ -0,0 +1,5 @@ +#name : Unordered List +#contributor: Peng Deng <dengpeng@gmail.com> +# -- ++ ${1:Text} ++$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/- b/emacs.d/snippets/text-mode/markdown-mode/- new file mode 100644 index 0000000..9d5c51d --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/- @@ -0,0 +1,5 @@ +#name : Unordered List +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +- ${1:Text} +-$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/_ b/emacs.d/snippets/text-mode/markdown-mode/_ new file mode 100644 index 0000000..50ab476 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/_ @@ -0,0 +1,4 @@ +#name : Emphasis +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +_${1:Text}_ $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/__ b/emacs.d/snippets/text-mode/markdown-mode/__ new file mode 100644 index 0000000..b6304f3 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/__ @@ -0,0 +1,4 @@ +#name : Strong +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +**${1:Text}** $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/` b/emacs.d/snippets/text-mode/markdown-mode/` new file mode 100644 index 0000000..ae58211 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/` @@ -0,0 +1,4 @@ +#name : Inline Code +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +\`${1:Code}\` $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h1.1 b/emacs.d/snippets/text-mode/markdown-mode/h1.1 new file mode 100644 index 0000000..8bb7ea2 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h1.1 @@ -0,0 +1,6 @@ +#name : Header 1 (#) +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +# ${1:Header 1} # + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h1.2 b/emacs.d/snippets/text-mode/markdown-mode/h1.2 new file mode 100644 index 0000000..d2e7b5b --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h1.2 @@ -0,0 +1,7 @@ +#name : Header 1 (=) +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +${1:Header 1} +${1:$(make-string (string-width text) ?\=)} + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h2.1 b/emacs.d/snippets/text-mode/markdown-mode/h2.1 new file mode 100644 index 0000000..bfee3fc --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h2.1 @@ -0,0 +1,6 @@ +#name : Header 2 (##) +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +## ${1:Header 1} ## + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h2.2 b/emacs.d/snippets/text-mode/markdown-mode/h2.2 new file mode 100644 index 0000000..af06045 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h2.2 @@ -0,0 +1,7 @@ +#name : Header 2 (-) +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +${1:Header 2} +${1:$(make-string (string-width text) ?\-)} + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h3 b/emacs.d/snippets/text-mode/markdown-mode/h3 new file mode 100644 index 0000000..44a6104 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h3 @@ -0,0 +1,6 @@ +#name : Header 3 +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +### ${1:Header 3} ### + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h4 b/emacs.d/snippets/text-mode/markdown-mode/h4 new file mode 100644 index 0000000..315140a --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h4 @@ -0,0 +1,6 @@ +#name : Header 4 +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +#### ${1:Header 4} #### + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h5 b/emacs.d/snippets/text-mode/markdown-mode/h5 new file mode 100644 index 0000000..f50a785 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h5 @@ -0,0 +1,6 @@ +#name : Header 5 +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +##### ${1:Header 5} ##### + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/h6 b/emacs.d/snippets/text-mode/markdown-mode/h6 new file mode 100644 index 0000000..1cdfebb --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/h6 @@ -0,0 +1,6 @@ +#name : Header 6 +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +###### ${1:Header 6} ###### + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/hr.1 b/emacs.d/snippets/text-mode/markdown-mode/hr.1 new file mode 100644 index 0000000..5fbe4f4 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/hr.1 @@ -0,0 +1,7 @@ +#name : Horizontal Rule (-) +#contributor: Peng Deng <dengpeng@gmail.com> +# -- + +---------- + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/hr.2 b/emacs.d/snippets/text-mode/markdown-mode/hr.2 new file mode 100644 index 0000000..2d4de22 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/hr.2 @@ -0,0 +1,7 @@ +#name : Horizontal Rule (*) +#contributor: Peng Deng <dengpeng@gmail.com> +# -- + +******* + +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/img b/emacs.d/snippets/text-mode/markdown-mode/img new file mode 100644 index 0000000..69ee77d --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/img @@ -0,0 +1,4 @@ +#name : Image +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +![${1:Alt Text}](${2:URL} $3) $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/link b/emacs.d/snippets/text-mode/markdown-mode/link new file mode 100644 index 0000000..dd7f99b --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/link @@ -0,0 +1,4 @@ +#name : Link +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +[${1:Link Text}](${2:URL} $3) $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/ol b/emacs.d/snippets/text-mode/markdown-mode/ol new file mode 100644 index 0000000..e715669 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/ol @@ -0,0 +1,5 @@ +#name : Ordered List +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +${1:1}. ${2:Text} +${1:$(number-to-string (1+ (string-to-number text)))}. $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/rimg b/emacs.d/snippets/text-mode/markdown-mode/rimg new file mode 100644 index 0000000..caafb60 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/rimg @@ -0,0 +1,4 @@ +#name : Referenced Image +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +![${1:Alt Text}][$2] $0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/rlb b/emacs.d/snippets/text-mode/markdown-mode/rlb new file mode 100644 index 0000000..681d9f0 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/rlb @@ -0,0 +1,5 @@ +#name : Reference Label +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +[${1:Reference}]: ${2:URL} $3 +$0 diff --git a/emacs.d/snippets/text-mode/markdown-mode/rlink b/emacs.d/snippets/text-mode/markdown-mode/rlink new file mode 100644 index 0000000..e35a0c0 --- /dev/null +++ b/emacs.d/snippets/text-mode/markdown-mode/rlink @@ -0,0 +1,4 @@ +#name : Reference Link +#contributor: Peng Deng <dengpeng@gmail.com> +# -- +[${1:Link Text}][$2] $0 |