memos/web
memoclaw 26d449d7a5 feat: add outline navigation to memo detail sidebar
Extract h1-h4 headings from memo markdown and display them as an
outline section at the top of the MemoDetail sidebar. Each heading
links to its anchor via smooth scroll with hash URL updates.

- Add slugify() and extractHeadings() utilities for MDAST parsing
- Add rehypeHeadingId plugin to assign unique slug IDs to headings
- Create MemoOutline component with level-based indentation
- Integrate outline as first section in MemoDetailSidebar

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-23 23:43:27 +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: add outline navigation to memo detail sidebar 2026-03-23 23:43:27 +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(web): improve MemoDetail and sidebar maintainability (#5769) 2026-03-23 22:51:24 +08:00
pnpm-lock.yaml refactor(web): improve MemoDetail and sidebar maintainability (#5769) 2026-03-23 22:51:24 +08:00
tsconfig.json chore: clean up unused imports and parameters across components 2025-12-27 10:18:38 +08:00
vite.config.mts feat: add live refresh via Server-Sent Events (SSE) with visual indicator (#5638) 2026-03-03 22:56:12 +08:00