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) })), +}