Browser extension that demonstrates the Web Annotation Discovery mechanism: subscribe to people’s annotation collections/‘feeds’, to see their notes on the web; and create & publish annotations yourself.

web-annotation-discovery-we.../src/popup/ index.tsx
10 lines
224 B

  1. import '../webextension-polyfill';
  2. import { h, render } from 'preact';
  3. import { Popup } from './Popup';
  4. main();
  5. async function main() {
  6. const container = document.getElementById('app')!;
  7. render(<Popup />, container);
  8. }