summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-18 18:44:58 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-18 18:44:58 -0800
commitbd47c46e152a475857dcb5a606b31a4f84c26c5e (patch)
tree9e2d388bf64648f56ebd5dc930b6f60f1a8e4b2b
parentref(ui): switch back to simpler themes/fonts (diff)
downloademacs.d-bd47c46e152a475857dcb5a606b31a4f84c26c5e.tar.gz
feat(snippets/markdown): start a new blog entry
Change-Id: I3755125e455f0fe08bca22deeb21dd470358b087
-rw-r--r--emacs/etc/snippets/markdown-mode/new-blog-entry12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/etc/snippets/markdown-mode/new-blog-entry b/emacs/etc/snippets/markdown-mode/new-blog-entry
new file mode 100644
index 0000000..ad6a53f
--- /dev/null
+++ b/emacs/etc/snippets/markdown-mode/new-blog-entry
@@ -0,0 +1,12 @@
+# -*- mode: snippet -*-
+# name: blogtop
+# key: blogtop
+# --
+---
+title: ${1:Title}
+date: `(format-time-string "%Y-%m-%d" nil nil)`
+tags:
+  - $2
+---
+
+$0