Skip to content
This repository has been archived by the owner on Dec 31, 2018. It is now read-only.

Fix Long Paragraph descriptions and add tab stops to HTML snippets #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
8 changes: 4 additions & 4 deletions dl - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<snippet>
<content><![CDATA[
<dl>
<dt>Definition list</dt>
<dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
<dt>Lorem ipsum dolor sit amet</dt>
<dd>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</dd>
<dt>${1:Definition list}</dt>
<dd>${2:Consectetur adipisicing ...}</dd>
<dt>${3:Lorem ipsum dolor sit amet...}</dt>
<dd>${4:Consectetur adipisicing elit...}</dd>
</dl>]]></content>
<tabTrigger>dl</tabTrigger>
<description>dl - Placeholder</description>
Expand Down
36 changes: 18 additions & 18 deletions form - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
<snippet>
<content><![CDATA[
<form action="#" method="post">
<form action="${1:#}" method="${2:post}">
<div>
<label for="name">Text Input:</label>
<input type="text" name="name" id="name" value="" tabindex="1" />
<label for="${3:name}">${4:Text Input Label}:</label>
<input type="${5:text}" name="$3" id="$3" value="${6:default value}" tabindex="1" />
</div>

<div>
<h4>Radio Button Choice</h4>
<h4>${7:Radio Button Choice}</h4>

<label for="radio-choice-1">Choice 1</label>
<input type="radio" name="radio-choice-1" id="radio-choice-1" tabindex="2" value="choice-1" />
<label for="${8:radio-choice-1}">${9:Choice 1}</label>
<input type="radio" name="$8" id="$8" tabindex="2" value="$9" />

<label for="radio-choice-2">Choice 2</label>
<input type="radio" name="radio-choice-2" id="radio-choice-2" tabindex="3" value="choice-2" />
<label for="${10:radio-choice-2}">${11:Choice 2}</label>
<input type="radio" name="$10" id="$10" tabindex="3" value="$11" />
</div>

<div>
<label for="select-choice">Select Dropdown Choice:</label>
<select name="select-choice" id="select-choice">
<option value="Choice 1">Choice 1</option>
<option value="Choice 2">Choice 2</option>
<option value="Choice 3">Choice 3</option>
<label for="${12:select-choice}">${13:Select Dropdown Choice:}</label>
<select name="$12" id="$12">
<option value="${14:Choice 1}">$14</option>
<option value="${15:Choice 2}">$15</option>
<option value="${16:Choice 3}">$16</option>
</select>
</div>

<div>
<label for="textarea">Textarea:</label>
<textarea cols="40" rows="8" name="textarea" id="textarea"></textarea>
<label for="${17:textarea}">${18:Textarea Title}:</label>
<textarea cols="${19:40}" rows="${20:8}" name="$17" id="$17"></textarea>
</div>

<div>
<label for="checkbox">Checkbox:</label>
<input type="checkbox" name="checkbox" id="checkbox" />
<label for="${21:checkbox}">${22:Checkbox Title}:</label>
<input type="checkbox" name="$21" id="$21" />
</div>

<div>
<input type="submit" value="Submit" />
<input type="submit" value="${23:Submit}" />
</div>
</form>]]></content>
<tabTrigger>form</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion img - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
<img src="http://flickholdr.com/${1:800}/${2:600}/${3:sun}" alt="Placeholder image">$0
<img src="http://flickholdr.com/${1:width (e.g. 800)}/${2:height (e.g. 600)}/${3:tags to search (e.g. "ewok,pet")}/${4:bw}" alt="${4:Placeholder image}">$0
]]></content>
<tabTrigger>img</tabTrigger>
<description>Image - Placeholder</description>
Expand Down
2 changes: 1 addition & 1 deletion lorem - Long para <p>.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<content><![CDATA[
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.</p>]]></content>
<tabTrigger>lorem</tabTrigger>
<description>lorem - Medium paragraph &lt;p&gt; </description>
<description>lorem - Long paragraph &lt;p&gt; </description>
</snippet>
2 changes: 1 addition & 1 deletion lorem - Long para.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<content><![CDATA[
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.]]></content>
<tabTrigger>lorem</tabTrigger>
<description>lorem - Medium paragraph</description>
<description>lorem - Long paragraph</description>
</snippet>
10 changes: 5 additions & 5 deletions nav - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<content><![CDATA[
<nav>
<ul>
<li><a href="#nowhere" title="Lorum ipsum dolor sit amet">Lorem</a></li>
<li><a href="#nowhere" title="Aliquam tincidunt mauris eu risus">Aliquam</a></li>
<li><a href="#nowhere" title="Morbi in sem quis dui placerat ornare">Morbi</a></li>
<li><a href="#nowhere" title="Praesent dapibus, neque id cursus faucibus">Praesent</a></li>
<li><a href="#nowhere" title="Pellentesque fermentum dolor">Pellentesque</a></li>
<li><a href="${1:#}" title="${2:Enter title attribute text here}">${3:Lorem}</a></li>
<li><a href="${4:#}" title="${5:Enter title attribute text here}">${6:Aliquam}</a></li>
<li><a href="${7:#}" title="${8:Enter title attribute text here}">${9:Morbi}</a></li>
<li><a href="${10:#}" title="${11:Enter title attribute text here}">${12:Praesent}</a></li>
<li><a href="${13:#}" title="${14:Enter title attribute text here}">${15:Pellentesque}</a></li>
</ul>
</nav>]]></content>
<tabTrigger>nav</tabTrigger>
Expand Down
6 changes: 3 additions & 3 deletions ol - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
<ol>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
<li>${1:Lorem ipsum dolor sit amet, consectetuer adipiscing elit.}</li>
<li>${2:Aliquam tincidunt mauris eu risus.}</li>
<li>${3:Vestibulum auctor dapibus neque.}</li>
</ol>]]></content>
<tabTrigger>ol</tabTrigger>
<description>ol - Placeholder</description>
Expand Down
36 changes: 19 additions & 17 deletions table - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,32 @@
<table>
<thead>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
<th>$1</th>
<th>$2</th>
<th>$3</th>
<th>$4</th>
</tr>
</thead>
<tbody>
<tfoot>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td>$5</td>
<td>$6</td>
<td>$7</td>
<td>$8</td>
</tr>
</tfoot>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td>$9</td>
<td>$10</td>
<td>$11</td>
<td>$12</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td>$13</td>
<td>$14</td>
<td>$15</td>
<td>$16</td>
</tr>
</tbody>
</table>]]></content>
Expand Down
8 changes: 4 additions & 4 deletions ul - Placeholder.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<snippet>
<content><![CDATA[
<ul>
<li>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</li>
<li>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.</li>
<li>Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.</li>
<li>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</li>
<li>${1:Morbi in sem quis dui placerat ornare...}</li>
<li>${2:Praesent dapibus, neque id cursus faucibus...}</li>
<li>${3:Phasellus ultrices nulla quis nibh...}</li>
<li>${4:Pellentesque fermentum dolor. Aliquam...}</li>
</ul>]]></content>
<tabTrigger>ul</tabTrigger>
<description>ul - Placeholder</description>
Expand Down