You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.3 KiB

# A valid snippet should starts with:
#
# snippet trigger_word [ "description" [ options ] ]
#
# and end with:
#
# endsnippet
#
# Snippet options:
#
# b - Beginning of line.
# i - In-word expansion.
# w - Word boundary.
# r - Regular expression
# e - Custom context snippet
# A - Snippet will be triggered automatically, when condition matches.
#
# Basic example:
#
# snippet emitter "emitter properties" b
# private readonly ${1} = new Emitter<$2>()
# public readonly ${1/^_(.*)/$2/}: Event<$2> = this.$2.event
# endsnippet
#
# Online reference: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt
snippet ,b "Bold" A
<b>$1</b> $2
endsnippet
snippet ,it "Italics" A
<em>$1</em> $2
endsnippet
snippet ,1 "Header 1" A
<h1>$1</h1>
$2
endsnippet
snippet ,2 "Header 2" A
<h2>$1</h2>
$2
endsnippet
snippet ,3 "Header 3" A
<h3>$1</h3>
$2
endsnippet
snippet ,p "Paragraph" A
5 years ago
<p>
$1
</p>
$2
endsnippet
snippet ,a "Hyperlink" A
<a href="$1">$2</a> $3
endsnippet
snippet ,e "External Hyperlink" A
<a target="_blank" href="$1">$2</a> $3
endsnippet
snippet ,ul "Itemization" A
<ul>
<li>$1</li>
</ul>
endsnippet
snippet ,li "List Element" A
5 years ago
<li>$1</li>
endsnippet
snippet ,ol "Enumeration" A
<ol>
<li>$1</li>
</ol>
endsnippet
snippet ,im "Image" A
<img src="$1" alt="$2"> $3
endsnippet
snippet & "Et Sign" A
&amp; $1
endsnippet