1
0
Fork 0
neovim-config/mysnippets/markdown.snippets
Felipe Contreras b3a953580e Hugo snippets
2021-12-20 17:36:34 -03:00

22 lines
392 B
Text

snippet fig "Hugo Figure"
{{< figure link="img/$1.jpg" thumb="_small"
caption="$2"
caption-position="bottom">}}
$0
endsnippet
snippet gal "Hugo Gallery"
{{< gallery hover-effect="none" caption-effect="none" >}}
{{< figure link="img/$1.jpg" thumb="_small"
caption="$2"
caption-position="bottom">}}
$3
{{< /gallery >}}
$0
endsnippet
snippet kbd "Keyboard"
{{<kbd ${1:<key>}>}}$0
endsnippet