summaryrefslogtreecommitdiff
path: root/snips/markdown.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'snips/markdown.snippets')
-rw-r--r--snips/markdown.snippets9
1 files changed, 9 insertions, 0 deletions
diff --git a/snips/markdown.snippets b/snips/markdown.snippets
new file mode 100644
index 00000000..cdfbe5cc
--- /dev/null
+++ b/snips/markdown.snippets
@@ -0,0 +1,9 @@
+snippet meta(data)? "Markdown metadata front matter" br
+---
+title: $1
+date: "`!v strftime("%Y-%m-%d")`"
+image: "$2"
+author: "$3"
+tags: [$4]
+---
+endsnippet