summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/markdown-mode/ol
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/markdown-mode/ol5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/markdown-mode/ol b/emacs.d/lisp/yasnippet/snippets/markdown-mode/ol
new file mode 100644
index 0000000..e715669
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/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