nvim/UltiSnips/markdown.snippets

51 lines
687 B
Plaintext
Raw Normal View History

2021-10-22 19:26:40 +00:00
snippet l "[...](...)"
2021-10-22 19:48:51 +00:00
[${1:title}](${2:url})$0
2020-05-02 11:44:10 +00:00
endsnippet
2021-10-22 19:26:40 +00:00
snippet c "``` ..."
2020-05-02 11:44:10 +00:00
\`\`\`$0
\`\`\`
endsnippet
2021-10-22 19:26:40 +00:00
# latex
2021-10-22 19:48:51 +00:00
snippet vec "vector"
\\begin{bmatrix} $1 \\\\ $2 \\end{bmatrix}$0
2021-10-22 19:26:40 +00:00
endsnippet
snippet mx "matrix"
2021-10-22 19:48:51 +00:00
\\begin{bmatrix} $1 & $2 \\\\ $3 & $4 \\end{bmatrix}$0
endsnippet
snippet lim "limit"
\\lim{$1 \\to $2}$0
endsnippet
snippet sum "sum"
\\sum_{$1}^{$2}$0
endsnippet
snippet fr "fraction"
\\frac{$1}{$2}$0
endsnippet
snippet br "{}"
\\lbrace $1 \\rbrace$0
endsnippet
snippet | "|...|"
\\lvert $1 \\rvert$0
endsnippet
snippet || "|...|"
\\lVert $1 \\rVert$0
endsnippet
snippet ds "displaystyle"
\\displaystyle$0
2021-10-22 19:26:40 +00:00
endsnippet
snippet lmb "lambda" i
2021-10-22 19:48:51 +00:00
\\lambda$0
2021-10-22 19:26:40 +00:00
endsnippet
2021-10-22 19:48:51 +00:00