summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/markdown-mode/h1.2
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/markdown-mode/h1.2')
-rw-r--r--.emacs.d/snippets/markdown-mode/h1.29
1 files changed, 9 insertions, 0 deletions
diff --git a/.emacs.d/snippets/markdown-mode/h1.2 b/.emacs.d/snippets/markdown-mode/h1.2
new file mode 100644
index 0000000..dbf567c
--- /dev/null
+++ b/.emacs.d/snippets/markdown-mode/h1.2
@@ -0,0 +1,9 @@
1# -*- mode: snippet -*-
2# name: Header 1 (=)
3# contributor: Peng Deng <dengpeng@gmail.com>
4# key: h1
5# --
6${1:Header 1}
7${1:$(make-string (string-width yas-text) ?\=)}
8
9$0 \ No newline at end of file