memos/web
boojack 10200606db feat(markdown): render and navigate GFM footnotes
Footnote definitions previously vanished on display. Two underlying issues:

- rehype-sanitize re-clobbered `id` attributes with a second `user-content-`
  prefix while leaving hrefs untouched, so footnote refs/backrefs pointed at
  ids that didn't exist. Disable clobbering (ids are already namespaced by
  remark-rehype) so anchors match their targets.
- Footnote anchors went through the external Link (target="_blank"), opening a
  blank tab instead of navigating. Route in-page `#` anchors through a new
  AnchorLink: scroll within the memo when shown in full, else navigate to the
  memo detail page with the hash, where MemoDetail scrolls it into view.

Also style the footnotes section GitHub-style: thin separator, smaller muted
text, and un-underlined ref/backref links.
2026-06-29 22:46:41 +08:00
..
docs refactor(react-query): optimize config, add error boundary, and remove JSDoc 2025-12-25 08:47:36 +08:00
public enhance: polish PWA manifest and meta tags (#5695) 2026-03-07 14:02:13 +08:00
src feat(markdown): render and navigate GFM footnotes 2026-06-29 22:46:41 +08:00
tests refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
.gitignore chore: update gitignore 2025-04-17 23:11:36 +08:00
biome.json refactor: remove MemoContentContext and integrate MemoViewContext 2025-12-28 12:46:12 +08:00
components.json feat: themes (#4824) 2025-07-07 20:13:22 +08:00
index.html enhance: polish PWA manifest and meta tags (#5695) 2026-03-07 14:02:13 +08:00
package.json refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
pnpm-lock.yaml refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
pnpm-workspace.yaml chore: upgrade pnpm to 11 (#5911) 2026-04-28 22:16:22 +08:00
tsconfig.json chore: upgrade TypeScript to 6.0.2 2026-03-24 08:45:56 +08:00
vite.config.mts perf: lazy load heavy first-screen dependencies (#5947) 2026-05-12 20:11:39 +08:00
vitest.config.mts refactor(web/routing): guard-based auth flow, migrate tests to Vitest (#5848) 2026-04-18 01:06:54 +08:00