You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
2 weeks ago
..
docs
public
src feat(markdown): render and navigate GFM footnotes 2 weeks ago
tests refactor: rebuild the editor on CodeMirror as decorated source 2 weeks ago
.gitignore
biome.json
components.json
index.html
package.json refactor: rebuild the editor on CodeMirror as decorated source 2 weeks ago
pnpm-lock.yaml refactor: rebuild the editor on CodeMirror as decorated source 2 weeks ago
pnpm-workspace.yaml
tsconfig.json
vite.config.mts perf: lazy load heavy first-screen dependencies (#5947) 2 months ago
vitest.config.mts