Skip to content

Commit 97e4ded

Browse files
authored
Update content linter expires tag usage for tables (#51049)
1 parent 766c7c2 commit 97e4ded

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

content/contributing/collaborating-on-github-docs/using-the-content-linter.md

+15
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,21 @@ This content expires on January 28, 2022.
130130
This content also does not expire.
131131
```
132132

133+
Note, if you are placing the expired tags in an HTML `table` element, make sure the tag goes around the entire row and not just the cell. For example:
134+
135+
```html
136+
<!-- expires 2024-06-28 -->
137+
<tr>
138+
<td>
139+
macOS
140+
</td>
141+
<td>
142+
The <code>macos-11</code> label has been deprecated and will no longer be available after 28 June 2024.
143+
</td>
144+
</tr>
145+
<!-- end expires 2024-06-28 -->
146+
```
147+
133148
## Suppressing linter rules
134149

135150
Rarely, you may need to document something that violates one or more linter rules. In these cases, you can suppress rules by adding a comment to the Markdown file. You can disable all rules or specific rules. Always try to limit as few rules as possible. You can disable a rule for an entire file, for a section of a Markdown file, a specific line, or the next line.

0 commit comments

Comments
 (0)