Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 620 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 620 Bytes

References Web Component

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.

Issues

  • Barely works without JavaScript; when :has finally drops, and with a better support for attr(), that might change

TODO

  • If a user comes to the page with #refXX already set, perhaps take them to the reference?