Skip to content

Commit 73cb7f4

Browse files
committed
Fix @type values not marked as code.
1 parent 7e9ab56 commit 73cb7f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,10 +1529,10 @@ <h2>Specifying the Type</h2>
15291529
to create a <a>typed value</a>.
15301530
This use of <code>@type</code> is similar to that used to define the type of a <a>node object</a>,
15311531
but value objects are restricted to having just a single type.
1532-
The use of @type to create typed values is discussed more fully in <a class="sectionRef" href="#typed-values"></a>.</p>
1532+
The use of <code>@type</code> to create typed values is discussed more fully in <a class="sectionRef" href="#typed-values"></a>.</p>
15331533

15341534
<p class="changed">Typed values can also be defined implicitly, by specifying
1535-
@type in an expanded term definition.
1535+
<code>@type</code> in an expanded term definition.
15361536
This is covered more fully in <a class="sectionRef" href="#type-coercion"></a>.</p>
15371537

15381538
<p class="note">The ability coerce a value using a <a>term definition</a> is distinct
@@ -2736,7 +2736,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
27362736
<p class="changed">When <a>processing mode</a> is set to <code>json-ld-1.1</code>,
27372737
<code>@type</code> may be used with an <a>expanded term definition</a> with <code>@container</code> set
27382738
to <code>@set</code>; no other members may be set within such an <a>expanded term definition</a>.
2739-
This is used by the <a data-cite="JSON-LD11-API#compaction-algorithm">Compaction algorithm</a> to ensure that the values of @type (or an alias)
2739+
This is used by the <a data-cite="JSON-LD11-API#compaction-algorithm">Compaction algorithm</a> to ensure that the values of <code>@type</code> (or an alias)
27402740
are always represented in an <a>array</a>.</p>
27412741

27422742
<pre class="example" data-transform="updateExample" title="Setting @container: @set on @type">

0 commit comments

Comments
 (0)