mirror of https://github.com/usememos/memos
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.
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 | 2 weeks ago | |
| tests | 2 weeks ago | |
| .gitignore | ||
| biome.json | ||
| components.json | ||
| index.html | ||
| package.json | 2 weeks ago | |
| pnpm-lock.yaml | 2 weeks ago | |
| pnpm-workspace.yaml | ||
| tsconfig.json | ||
| vite.config.mts | 2 months ago | |
| vitest.config.mts | ||