Experiment on Web Components to figure out how they work!
Demo: https://lab.avl.la/references-webcomponent/
This repo contains two Web Components:
<cite-web>
for inline citations;<references-list>
at the bottom to generate the list.
- Barely works without JavaScript; when :has finally drops, and with a better support for attr(), that might change
- If a user comes to the page with
#refXX
already set, perhaps take them to the reference?