nvim: add markdown snippets
This commit is contained in:
parent
4884f144d0
commit
73e4f4abdf
5
src/.config/nvim/snippets/markdown.lua
Normal file
5
src/.config/nvim/snippets/markdown.lua
Normal file
@ -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) })),
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user