Skip to content

Commit 7e9ab56

Browse files
committed
Clean up example comments so they don't wrap.
1 parent 8f8dba5 commit 7e9ab56

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

index.html

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,13 @@ <h1>Basic Concepts</h1>
676676
<!--
677677
{
678678
"****http://schema.org/name****": "Manu Sporny",
679-
"****http://schema.org/url****": ****{ "@id": ****"http://manu.sporny.org/" ****}****, ####← The '@id' keyword means 'This value is an identifier that is an IRI'####
680-
"****http://schema.org/image****": ****{ "@id": ****"http://manu.sporny.org/images/manu.png" ****}****
679+
"****http://schema.org/url****": ****{
680+
"@id": ****"http://manu.sporny.org/"
681+
####↑ The '@id' keyword means 'This value is an identifier that is an IRI'####
682+
****}****,
683+
"****http://schema.org/image****": ****{
684+
"@id": ****"http://manu.sporny.org/images/manu.png"
685+
****}****
681686
}
682687
-->
683688
</pre>
@@ -747,14 +752,21 @@ <h2>The Context</h2>
747752
<!--
748753
{
749754
****"@context": {
750-
"name": "http://schema.org/name",**** ####← This means that 'name' is shorthand for 'http://schema.org/name'#### ****
751-
"image": {
752-
"@id": "http://schema.org/image",**** ####← This means that 'image' is shorthand for 'http://schema.org/image'#### ****
753-
"@type": "@id"**** ####← This means that a string value associated with 'image' should be interpreted as an identifier that is an IRI#### ****
754-
},
755+
"name": "http://schema.org/name",****
756+
####↑ This means that 'name' is shorthand for 'http://schema.org/name'####
757+
****"image": {
758+
"@id": "http://schema.org/image",****
759+
####↑ This means that 'image' is shorthand for 'http://schema.org/image'####
760+
****"@type": "@id"****
761+
####↑ This means that a string value associated with 'image'
762+
should be interpreted as an identifier that is an IRI####
763+
****},
755764
"homepage": {
756-
"@id": "http://schema.org/url",**** ####← This means that 'homepage' is shorthand for 'http://schema.org/url'#### ****
757-
"@type": "@id"**** ####← This means that a string value associated with 'homepage' should be interpreted as an identifier that is an IRI#### ****
765+
"@id": "http://schema.org/url",****
766+
####↑ This means that 'homepage' is shorthand for 'http://schema.org/url'####
767+
****"@type": "@id"****
768+
####↑ This means that a string value associated with 'homepage'
769+
should be interpreted as an identifier that is an IRI#### ****
758770
}
759771
}****
760772
}

0 commit comments

Comments
 (0)