From 73e4f4abdfe5491f37122e87ee7d087f8b7a89ac Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 3 Apr 2024 19:28:14 -0400 Subject: [PATCH] nvim: add markdown snippets --- src/.config/nvim/snippets/markdown.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/.config/nvim/snippets/markdown.lua diff --git a/src/.config/nvim/snippets/markdown.lua b/src/.config/nvim/snippets/markdown.lua new file mode 100644 index 0000000..a14f97a --- /dev/null +++ b/src/.config/nvim/snippets/markdown.lua @@ -0,0 +1,5 @@ +return { + s({ trig = "thumb", desc = "thumbnail + link to full media" }, + fmt('![]({path}-thumb.{ext}) ]({path2}.{ext2})', + { path = i(1, "path"), ext = i(2, "ext"), path2 = rep(1), ext2 = rep(2) })), +}