summary refs log tree commit diff
path: root/.vim/snippets/markdown.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/snippets/markdown.lua')
-rw-r--r--.vim/snippets/markdown.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/.vim/snippets/markdown.lua b/.vim/snippets/markdown.lua
new file mode 100644
index 0000000..221f301
--- /dev/null
+++ b/.vim/snippets/markdown.lua
@@ -0,0 +1,20 @@
+---@diagnostic disable: undefined-global
+return {
+  s(
+    'bugs',
+    fmt(
+      [[
+## bugs, help, patches?
+
+submit them to my [public-inbox](https://lists.sr.ht/~robertgzr/public-inbox) by sending an email to [~robertgzr/public-inbox@lists.sr.ht](mailto:~robertgzr/public-inbox@lists.sr.ht?Subject=%5B{proj}%5D%20)
+]],
+      { proj = i(1, 'project name') }
+    )
+  ),
+
+  s('date', {
+    t('<span class="date">'),
+    i(1),
+    t('</span>'),
+  }),
+}