Skip to content

Commit 6b27535

Browse files
committed
update: segmentation of the category schema
1 parent 173589c commit 6b27535

20 files changed

+325
-63
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ You can manually download the package and place it within your `Packages` direct
1111

1212
You can see all installed snippets in `Tools > Snippets...`, in the sublime text.
1313

14-
## Snippets and prefixes
14+
## Snippets and prefixes/keys
1515

1616
- [HTML - h*](snippets/html/)
17-
- [Schema - hs*](snippets/html/schema/)
17+
- [Microdata - hm*](snippets/html/schema/microdata)
1818
- [CSS - c*](snippets/css/)
1919
- [JavaScript - j*](snippets/js/)
2020
- [BDD - b*](snippets/js/bdd)
2121
- [jQuery - jq*](snippets/js/jquery)
2222
- [Schema.org - s*](snippets/schema/)
2323
- [External - e*](snippets/external/)
2424
- [Comment](snippets/comment/)
25-
- [HTML - xc*](snippets/comment/html)
25+
- [HTML - xh*](snippets/comment/html)
2626
- [CSS - xc*](snippets/comment/css)
27-
- [JavaScript - xc*](snippets/comment/js)
27+
- [JavaScript - xj*](snippets/comment/js)
2828
- [Structure data](snippets/structured-data) (***examples***)
29-
- [Schema](snippets/structured-data/schema)
30-
- [JSON-LD](snippets/structured-data/json-ld)
31-
- [RDFa](snippets/structured-data/rdfa)
29+
- [Microdata - zmicrodata](snippets/structured-data/microdata)
30+
- [JSON-LD - zjsonld](snippets/structured-data/json-ld)
31+
- [RDFa - zrdfa](snippets/structured-data/rdfa)
3232

3333
## References
3434

@@ -41,6 +41,9 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text
4141
* [@joshnh](https://github.com/joshnh) (Joshua Hibbert)
4242
[https://github.com/joshnh/HTML-Snippets](https://github.com/joshnh/HTML-Snippets)
4343

44+
* [http://schema.org/](http://schema.org/)
45+
* [https://api.jquery.com/](https://api.jquery.com/)
46+
4447
## Contributing
4548

4649
- Fork it!

snippets/comment/js/js-comment-methods.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
* @return {${5:String}} ${6:Description of the return}
88
*/
99
]]></content>
10-
<tabTrigger>!jmethod</tabTrigger>
11-
<description>!j - Method Comment</description>
10+
<tabTrigger>xjmethod</tabTrigger>
11+
<description>xj - Method Comment</description>
1212
</snippet>

snippets/html/schema/README.md renamed to snippets/html/schema/microdata/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# HTML Snippets
22

3-
## Schema
3+
## Microdata
44

5-
Prefix `hs*`
5+
Prefix `hm*`
66

7-
### [hssitenav] http://www.schema.org/SiteNavigationElement
7+
### [hmsitenav] http://www.schema.org/SiteNavigationElement
88

99
```html
1010
<ul itemscope="itemscope" itemtype="http://www.schema.org/SiteNavigationElement">

snippets/html/schema/html-schema-site-navigation-element.sublime-snippet renamed to snippets/html/schema/microdata/html-microdata-site-navigation-element.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
</li>
77
</ul>
88
]]></content>
9-
<tabTrigger>hssitenav</tabTrigger>
10-
<description>hs - HTML with SiteNavigationElement</description>
9+
<tabTrigger>hmsitenav</tabTrigger>
10+
<description>hm - HTML with SiteNavigationElement</description>
1111
</snippet>

snippets/js/jquery/effects/jq-effects-dequeue.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v<snippet>
1+
<snippet>
22
<content><![CDATA[
33
${1:\$("div")}.dequeue(${2:queueName});
44
]]></content>

snippets/schema/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Schema Snippets
22

3-
Prefix `s*`
3+
Prefix `m*`
44

55
## Organization
66

7-
### [sorg] http://schema.org/Organization
7+
### [morg] http://schema.org/Organization
88

99
```html
1010
itemscope="itemscope" itemtype="http://schema.org/Organization"
1111
```
12+
13+
## Action
14+
15+
### [maction] http://schema.org/Action
16+
17+
```html
18+
itemscope="itemscope" itemtype="http://schema.org/Action"
19+
```

snippets/schema/schema-action.sublime-snippet renamed to snippets/schema/microdata/microdata-action.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<content><![CDATA[
33
itemscope="itemscope" itemtype="http://schema.org/Action"
44
]]></content>
5-
<tabTrigger>saction</tabTrigger>
6-
<description>s - Action</description>
5+
<tabTrigger>maction</tabTrigger>
6+
<description>m - Action</description>
77
</snippet>

snippets/schema/schema-organization.sublime-snippet renamed to snippets/schema/microdata/microdata-organization.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<content><![CDATA[
33
itemscope="itemscope" itemtype="http://schema.org/Organization"
44
]]></content>
5-
<tabTrigger>sorg</tabTrigger>
6-
<description>s - Organization</description>
5+
<tabTrigger>morg</tabTrigger>
6+
<description>m - Organization</description>
77
</snippet>

snippets/structured-data/README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Structure data
22

3-
- [Schema](schema/)
4-
-
3+
- [Microdata](microdata/)
4+
- Organization
5+
- CreativeWork
6+
- Article
7+
- Book
8+
- Game
9+
- Webpage
510
- [JSON-LD](rdfa/)
6-
-
11+
- Logotype
712
- [RDFa](json-ld/)
8-
-
13+
- Breadcrumb

snippets/structured-data/json-ld/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JSON-LD
22

3-
key: `datajsonld`
3+
key: `zjsonld`
44

55
### Logotype
66

0 commit comments

Comments
 (0)