Skip to content

Commit

Permalink
#94 Correct Convenience context example
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoly-scherbakov committed Jul 23, 2023
1 parent ae6a81d commit d327ef7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1149,14 +1149,14 @@ <h2>Best Practices</h2>
</li>
</ul>

<div class="practice">
<p class="practicedesc">
<span id="bp-convenience-context" class="practicelab">Use a <dfn>Convenience Context</dfn></span>
<p>
YAML-LD users may use a JSON-LD context provided as part of this specification, or a similar custom context,
to improve the authoring experience and readability.
</p>
</div>
<div class="practice">
<p class="practicedesc">
<span id="bp-convenience-context" class="practicelab">Use a <dfn>Convenience Context</dfn></span>
<p>
YAML-LD users may use a JSON-LD context provided as part of this specification, or a similar custom context,
to improve the authoring experience and readability.
</p>
</div>

<p>
Unfortunately, <code>@context</code> keyword cannot be aliased as per JSON-LD specification and will have
Expand All @@ -1172,8 +1172,8 @@ <h2>Best Practices</h2>
title="Example YAML-LD document with Convenience Context">
<!--
"@context":
- "@import": https://schema.org
- "@import": https://raw.githubusercontent.com/json-ld/convenience-context/main/context.jsonld
- https://json-ld.org/contexts/dollar-convenience.jsonld
- https://schema.org
$id: https://w3.org/yaml-ld/
$type: WebContent
Expand Down

0 comments on commit d327ef7

Please sign in to comment.