-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Closed
Description
Part of #7898.
In preparing Web/API docs for Markdown conversion we'd like to remove occurrences of <div class="hidden">. There are two main usages of this pattern:
- to include comments for editors, like the comments attached to interactive examples
- to hide code blocks that the author wants to participate in live samples, but doesn't want the reader to see
This issue to about removing instances of the first category. The fix in this case is often just to delete the content, although there might be some exceptions.
For an example of this pattern:
content/files/en-us/web/api/svgpointlist/replaceitem/index.html
Lines 59 to 61 in a9f58a4
| <h2 id="Browser_compatibility">Browser compatibility</h2> | |
| <div class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</div> |
Sometimes this happens when an author has set hidden directly on a <pre> block that's part of a live sample. In this case we should keep the hidden class.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels