Store and publish annotations on the web, as described in the Web Annotation Discovery proposal.

renderUser.ts 230 B

12345678910111213
  1. import type { Request, Response } from 'express';
  2. export function renderUser(
  3. req: Request,
  4. res: Response,
  5. { name, ...other },
  6. ) {
  7. res.render('user', {
  8. title: `Annotations of ${name}`,
  9. name,
  10. ...other,
  11. });
  12. }