You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<strong>NOTE:</strong> As of v2.1.0 keys marked with an asterisk (*) are deprecated and are no longer used in the Code Snippets Database collection.
196
+
</p>
197
+
</aside>
193
198
<p>The sections in these files are named with identifiers that uniquely identify a snippet. This <spanclass="very-strong">must</span> be a valid Unicode Pascal identifier. The keys in a section have the following purpose:</p>
194
199
<dl>
195
200
<dt>
@@ -207,22 +212,44 @@ <h2 id="category-ini">
207
212
<codeclass="key">Desc</code>
208
213
</dt>
209
214
<dd>
215
+
<aside>
216
+
<p>
217
+
<spanclass="very-strong">Deprecated as of v2.1.0</span>: use <codeclass="key">DescEx</code> instead.
218
+
</p>
219
+
<p>
220
+
v2.1.0 conformant collections <spanclass="very-strong">must not</span> use this key.
221
+
</p>
222
+
<p>
223
+
Software <spanclass="very-strong">must</span> ignore this key when parsing v2.1.0 conformant collections.
224
+
</p>
225
+
</aside>
210
226
<p>
211
227
Description of the snippet as plain text.
212
228
</p>
213
229
<p>
214
-
<codeclass="key">Desc</code> is ignored if a non-empty <codeclass="key">DescEx</code> key is present. At least one of the <codeclass="key">Desc</code> or <codeclass="key">DescEx</code> keys are <spanclass="very-strong">required</span> to be present and non-empty.
230
+
For v2.0.x only, <codeclass="key">Desc</code> is ignored if a non-empty <codeclass="key">DescEx</code> key is present. At least one of the <codeclass="key">Desc</code> or <codeclass="key">DescEx</code> keys are <spanclass="very-strong">required</span> to be present and non-empty.
215
231
</p>
216
232
</dd>
217
233
<dt>
218
234
<codeclass="key">DescEx</code>
219
235
</dt>
220
236
<dd>
237
+
<aside>
238
+
<p>
239
+
<spanclass="very-strong">Required as of v2.1.0</span>.
240
+
</p>
241
+
<p>
242
+
v2.1.0 conformant collections <spanclass="very-strong">must</span> use this key.
243
+
</p>
244
+
<p>
245
+
Software <spanclass="very-strong">must</span> report an error when parsing v2.1.0 conformant collections if <codeclass="key">DescEx</code> is missing.
246
+
</p>
247
+
</aside>
221
248
<p>
222
249
Formatted description of the snippet using REML<sup><ahref="#footnote-1">1</a></sup> code.
223
250
</p>
224
251
<p>
225
-
May be empty, in which case the <codeclass="key">Desc</code> key is used. <codeclass="key">Desc</code> is ignored if <codeclass="key">DescEx</code> has a non-empty value. At least one of the <codeclass="key">Desc</code> or <codeclass="key">DescEx</code> keys are <spanclass="very-strong">required</span> to be present and non-empty.
252
+
For version 2.0.x only, <codeclass="key">DescEx</code> may be empty, in which case the <codeclass="key">Desc</code> key is used. <codeclass="key">Desc</code> is ignored if <codeclass="key">DescEx</code> has a non-empty value. At least one of the <codeclass="key">Desc</code> or <codeclass="key">DescEx</code> keys are <spanclass="very-strong">required</span> to be present and non-empty.
226
253
</p>
227
254
</dd>
228
255
<dt>
@@ -291,16 +318,27 @@ <h2 id="category-ini">
291
318
Provides extra information about the snippet. When present the value <spanclass="very-strong">must</span> be a valid string of REML<sup><ahref="#footnote-1">1</a></sup> code.
292
319
</p>
293
320
<p>
294
-
May be omitted or empty. In this case any extra information is generated from the values of any <codeclass="key">Comments</code>, <codeclass="key">Credits</code> and <codeclass="key">Credits_URL</code> keys, if present.
321
+
May be omitted or empty.
295
322
</p>
296
323
<p>
297
-
When <codeclass="key">Extra</code>has a non-empty value the <codeclass="key">Comments</code>, <codeclass="key">Credits</code> and <codeclass="key">Credits_URL</code>keys are ignored.
324
+
For v2.0.x only, if and only if <codeclass="key">Extra</code>is empty, extra information is generated from the <codeclass="key">Comments</code>, <codeclass="key">Credits</code> and <codeclass="key">Credits_URL</code>key values.
<spanclass="very-strong">Deprecated as of v2.1.0</span>: use <codeclass="key">Extra</code> instead.
334
+
</p>
335
+
<p>
336
+
v2.1.0 conformant collections <spanclass="very-strong">must not</span> use this key.
337
+
</p>
338
+
<p>
339
+
Software <spanclass="very-strong">must</span> ignore this key when parsing v2.1.0 conformant collections.
340
+
</p>
341
+
</aside>
304
342
<p>
305
343
Text that notes any credits / acknowledgements. <codeclass="key">Credits</code> may optionally contain one (and only one) section of text delimited by <code>[</code> and <code>]</code> characters that indicate the presence of a hyperlink. The enclosed text is used as the text of a hyperlink whose URL <spanclass="very-strong">must</span> be specified in the <codeclass="key">Credits_URL</code> key.
<spanclass="very-strong">Deprecated as of v2.1.0</span>.
356
+
</p>
357
+
<p>
358
+
v2.1.0 conformant collections <spanclass="very-strong">must not</span> use this key.
359
+
</p>
360
+
<p>
361
+
Software <spanclass="very-strong">must</span> ignore this key when parsing v2.1.0 conformant collections.
362
+
</p>
363
+
</aside>
315
364
<p>
316
365
The URL used in any hyperlink present in the <codeclass="key">Credits</code> key.
317
366
</p>
@@ -323,6 +372,17 @@ <h2 id="category-ini">
323
372
<codeclass="key">Comments</code>
324
373
</dt>
325
374
<dd>
375
+
<aside>
376
+
<p>
377
+
<spanclass="very-strong">Deprecated as of v2.1.0</span>: use <codeclass="key">Extra</code> instead.
378
+
</p>
379
+
<p>
380
+
v2.1.0 conformant collections <spanclass="very-strong">must not</span> use this key.
381
+
</p>
382
+
<p>
383
+
Software <spanclass="very-strong">must</span> ignore this key when parsing v2.1.0 conformant collections.
384
+
</p>
385
+
</aside>
326
386
<p>
327
387
Text string containing any additional comments about the snippet.
328
388
</p>
@@ -650,11 +710,11 @@ <h1>
650
710
<liid="footnote-1">
651
711
<p>
652
712
REML is a text markup language used to format text. REML version 4 is supported. The REML format is documented in <ahref="reml.html">reml.html</a>.
653
-
</p>
713
+
</p>
654
714
</li>
655
715
<liid="footnote-2">
656
716
<p>
657
-
Here is an example of how the <codeclass="key">Credits</code> and <codeclass="key">Credits_URL</code> keys work together.
717
+
Here is an example of how the <spanclass="very-strong">deprecated</span><codeclass="key">Credits</code> and <codeclass="key">Credits_URL</code> keys work together.
658
718
</p>
659
719
<p>
660
720
If <codeclass="key">Credits</code>=<codeclass="value">"See [example 1]"</code> and <codeclass="key">Credits_URL</code>=<codeclass="value">"http://example.com"</code> and the <codeclass="key">Extra</code> key is empty or missing then the extra REML code generated will be <samp>See <a href="example.com">example 1</a></samp>.
0 commit comments