aboutsummaryrefslogtreecommitdiff
path: root/my_snippets/markdown.snippets
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-04-27 00:16:43 +0800
committerjdhao <jdhao@hotmail.com>2019-04-27 00:16:43 +0800
commitdeb3266920148cb9c0715e5d7225d3df6a9f318e (patch)
tree3673a815ce597e51feff7493849fc9122136834f /my_snippets/markdown.snippets
parentfcbbe908f6060037b65737cb1398c1c0dceaa43f (diff)
Add Ultisnips snippets
Diffstat (limited to 'my_snippets/markdown.snippets')
-rw-r--r--my_snippets/markdown.snippets17
1 files changed, 17 insertions, 0 deletions
diff --git a/my_snippets/markdown.snippets b/my_snippets/markdown.snippets
new file mode 100644
index 0000000..8a2aa4f
--- /dev/null
+++ b/my_snippets/markdown.snippets
@@ -0,0 +1,17 @@
+snippet kbd "HTML kbd tag"
+<kbd>${1:KEY}</kbd>$0
+endsnippet
+
+snippet head "Markdown header" b
+---
+title: "$1"
+date: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
+tags: [$3]
+categories: [$4]
+---
+$0
+endsnippet
+
+snippet more "HTML more tag"
+<!--more-->
+endsnippet