Open
Description
To support https://whatwg.org/working-mode#anchors, Wattsi should have a means of checking that anchors are permanent, like Bikeshed does. In particular we should have some metadata in the source (near the top), which lists the "required IDs", which Wattsi can read. And then, when Wattsi gets to the bottom, if those IDs have never shown up, the build fatally errors.
The big question here is how we store the information. One quick-and-easy idea is <html data-required-ids="space separated list">
(with that attribute being removed in the output) but there might be something simpler.
@sideshowbarker, you've looked a lot at the ID code for MDN annotation stuff; any thoughts?
Metadata
Metadata
Assignees
Labels
No labels