Skip to content

Commit

Permalink
Add list snippets
Browse files Browse the repository at this point in the history
- Description List
- Ordered List
- Unordered List
  • Loading branch information
infininight committed Jul 2, 2018
1 parent 0241f90 commit a7b8756
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Snippets/Description List.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;dl&gt;
&lt;dt&gt;{1:first item}&lt;/dt&gt;
&lt;dd&gt;
{2:description}
&lt;/dd&gt;$0
&lt;/dl&gt;</string>
<key>name</key>
<string>Description List</string>
<key>scope</key>
<string>text.html - B:meta.tag - B:text.html meta.embedded</string>
<key>tabTrigger</key>
<string>dl</string>
<key>uuid</key>
<string>C6007DCF-3603-459A-B723-5A8582E77E89</string>
</dict>
</plist>
18 changes: 18 additions & 0 deletions Snippets/Ordered List.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;ol&gt;
&lt;li&gt;${1:first item}&lt;/li&gt;$0
&lt;/ol&gt;</string>
<key>name</key>
<string>Ordered List</string>
<key>scope</key>
<string>text.html - B:meta.tag - B:text.html meta.embedded</string>
<key>tabTrigger</key>
<string>ol</string>
<key>uuid</key>
<string>DB9B4DA1-B050-48FC-8241-117F6897013B</string>
</dict>
</plist>
18 changes: 18 additions & 0 deletions Snippets/Unordered List.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;ul&gt;
&lt;li&gt;${1:first item}&lt;/li&gt;$0
&lt;/ul&gt;</string>
<key>name</key>
<string>Unordered List</string>
<key>scope</key>
<string>text.html - B:meta.tag - B:text.html meta.embedded</string>
<key>tabTrigger</key>
<string>ul</string>
<key>uuid</key>
<string>F4D90AE0-533A-493D-8949-DA9D5F4C53C8</string>
</dict>
</plist>
3 changes: 3 additions & 0 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<string>4462A6B8-A08A-11D9-A5A2-000D93C8BE28</string>
<string>4905D47B-A08B-11D9-A5A2-000D93C8BE28</string>
<string>3E008E42-A5C9-11D9-9BCD-000D93C8BE28</string>
<string>C6007DCF-3603-459A-B723-5A8582E77E89</string>
<string>576036C0-A60E-11D9-ABD6-000D93C8BE28</string>
<string>9BD2BE01-A854-4D55-B584-725D04C075C0</string>
<string>232C2E8B-A08E-11D9-A5A2-000D93C8BE28</string>
Expand All @@ -87,6 +88,7 @@
<string>81DA4C74-A530-11D9-9BCD-000D93C8BE28</string>
<string>DA99AC44-A083-11D9-A5A2-000D93C8BE28</string>
<string>5820372E-A093-4F38-B25C-B0CCC50A0FC4</string>
<string>DB9B4DA1-B050-48FC-8241-117F6897013B</string>
<string>6592050A-A087-11D9-A5A2-000D93C8BE28</string>
<string>7D676C4C-A087-11D9-A5A2-000D93C8BE28</string>
<string>26023CFF-C73F-4EF5-9803-E4DBA2CBEADD</string>
Expand All @@ -95,6 +97,7 @@
<string>57176082-A12F-11D9-A5A2-000D93C8BE28</string>
<string>AAC9D7B8-A12C-11D9-A5A2-000D93C8BE28</string>
<string>B62ECABE-A086-11D9-A5A2-000D93C8BE28</string>
<string>F4D90AE0-533A-493D-8949-DA9D5F4C53C8</string>
<string>42F15753-9B6D-4DD8-984C-807B94363277</string>
</array>
<key>name</key>
Expand Down

0 comments on commit a7b8756

Please sign in to comment.