Skip to content

Commit e332fd4

Browse files
committed
Add link to Playground from the main example.
1 parent 8832acd commit e332fd4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.liquid

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ masthead:
2121
</p>
2222
</div>
2323
<div class="eight wide column">
24-
<pre class="ui segment">{
24+
<div class="ui segment">
25+
<a class="ui top right attached primary label"
26+
href="/playground/#startTab=tab-expanded&json-ld=%7B%22%40context%22%3A%22https%3A%2F%2Fjson-ld.org%2Fcontexts%2Fperson.jsonld%22%2C%22%40id%22%3A%22http%3A%2F%2Fdbpedia.org%2Fresource%2FJohn_Lennon%22%2C%22name%22%3A%22John%20Lennon%22%2C%22born%22%3A%221940-10-09%22%2C%22spouse%22%3A%5B%22http%3A%2F%2Fdbpedia.org%2Fresource%2FYoko_Ono%22%2C%22http%3A%2F%2Fdbpedia.org%2Fresource%2FCynthia_Lennon%22%5D%7D"
27+
>Open in Playground</a>
28+
<pre style="margin: 0 !important;">{
2529
"<span style="color: rgb(255, 122, 0);">@context</span>": "<a href="https://json-ld.org/contexts/person.jsonld">https://json-ld.org/contexts/person.jsonld</a>",
2630
"<span style="color: rgb(255, 122, 0);">@id</span>": "<a href="http://dbpedia.org/resource/John_Lennon">http://dbpedia.org/resource/John_Lennon</a>",
2731
"<span style="color: rgb(255, 122, 0);">name</span>": "<span style="color: rgb(0, 148, 0);">John Lennon</span>",
@@ -30,7 +34,7 @@ masthead:
3034
"<a href="http://dbpedia.org/resource/Yoko_Ono">http://dbpedia.org/resource/Yoko_Ono</a>",
3135
"<a href="http://dbpedia.org/resource/Cynthia_Lennon">http://dbpedia.org/resource/Cynthia_Lennon</a>"
3236
]
33-
}</pre>
37+
}</pre></div>
3438
</div>
3539
<div class="justified four wide column">
3640
<h2><img class="ui micro inline image" src="images/json-ld-data-32.png" alt="JSON-LD logo"> JSON-LD</h2>

0 commit comments

Comments
 (0)