Skip to content

Commit 5392621

Browse files
committed
Add guidance for link anchors
1 parent 5d43a8b commit 5392621

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CONTRIBUTING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ The following additional rules should be followed but currently are not enforced
5454
6. Field values are monospaced in JSON notation: `true`, `false`, `null`, `"header"` (with double-quotes around string values), ...
5555
7. A combination of fixed field name with example value uses JS notation: `in: "header"`, combining rules 5 and 6
5656
8. An exception to 5-7 is colloquial use, for example "values of type `array` or `object`" - "type" is not monospaced, so the monospaced values aren't enclosed in double quotes.
57-
9. Use Oxford commas, avoid Shatner commas
57+
9. Use Oxford commas, avoid Shatner commas.
58+
10. Use `<span id="thing"></span>` for link anchors. The `<a name="thing"></a>` format has been deprecated.
5859

5960
### Use of "keyword", "field", "property", and "attribute"
6061

0 commit comments

Comments
 (0)