lots of snippets
[dotfiles.git] / .vim / mysnippets / markdown.snippets
diff --git a/.vim/mysnippets/markdown.snippets b/.vim/mysnippets/markdown.snippets
new file mode 100644 (file)
index 0000000..def505b
--- /dev/null
@@ -0,0 +1,32 @@
+snippet b "Bold" w
+**$1**$0
+endsnippet
+
+snippet i "Italics" w
+_$1_$0
+endsnippet
+
+snippet def "Definition" w
+**$1** - $0
+endsnippet
+
+snippet link "Link" w
+[$1]($2)$0
+endsnippet
+
+snippet trans "Translation Box" w
+### raw
+$1
+### literal
+### better
+endsnippet
+
+snippet im "Inline math" w
+$$$1$$$0
+endsnippet
+
+snippet bm "Block math" w
+\[
+       $1
+\]$0
+endsnippet