dotfiles/.emacs.d/snippets/markdown-mode/ol

6 lines
151 B
Plaintext

#name : Ordered List
#contributor: Peng Deng <dengpeng@gmail.com>
# --
${1:1}. ${2:Text}
${1:$(number-to-string (1+ (string-to-number yas-text)))}. $0