nvim/UltiSnips/markdown.snippets

84 lines
1.2 KiB
Plaintext
Raw Permalink 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-11-21 12:18:12 +00:00
snippet vec "vector 1x2" i
2021-10-22 19:48:51 +00:00
\\begin{bmatrix} $1 \\\\ $2 \\end{bmatrix}$0
2021-10-22 19:26:40 +00:00
endsnippet
2021-11-21 12:18:12 +00:00
snippet vec3 "vector 1x3" i
2021-11-05 09:40:50 +00:00
\\begin{bmatrix} $1 \\\\ $2 \\\\ $3 \\end{bmatrix}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet mx "matrix 2x2" i
2021-10-22 19:48:51 +00:00
\\begin{bmatrix} $1 & $2 \\\\ $3 & $4 \\end{bmatrix}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet mx3 "matrix 3x3" i
2021-11-05 09:40:50 +00:00
\\begin{bmatrix} $1 & $2 & $3 \\\\ $4 & $5 & $6 \\\\ $7 & $8 & $9 \\end{bmatrix}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet lim "limit" i
2021-10-22 19:48:51 +00:00
\\lim{$1 \\to $2}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet sum "sum" i
2021-10-22 19:48:51 +00:00
\\sum_{$1}^{$2}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet fr "fraction" i
2021-10-22 19:48:51 +00:00
\\frac{$1}{$2}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet sq "square root" i
2021-10-22 19:53:02 +00:00
\\sqrt{$1}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet rt "root" i
2021-10-22 19:53:02 +00:00
\\sqrt[${1:3}]{${2:x}}$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet br "{}" i
2021-10-22 19:48:51 +00:00
\\lbrace $1 \\rbrace$0
endsnippet
snippet | "|...|"
\\lvert $1 \\rvert$0
endsnippet
snippet || "|...|"
\\lVert $1 \\rVert$0
endsnippet
2021-11-21 12:18:12 +00:00
snippet ds "displaystyle" i
2021-10-22 19:48:51 +00:00
\\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
2021-11-27 09:41:44 +00:00
snippet imp "implies" i
\\Rightarrow
endsnippet
snippet int "integral" i
\\int_{$1}^{$2} $0
endsnippet
2022-08-20 11:35:14 +00:00
snippet web "web snippet"
[$1]($2)
\`\`\`
$3
\`\`\`
---$0
endsnippet