Commit Graph

8 Commits

Author SHA1 Message Date
Julien Calixte
4ce8c30649 fix(navigation): support anchor fragments in note links
Links like `path/to/note.md#heading` previously errored with "Note not
found" because the full href (including `#hash`) was matched against
file paths. Split the fragment off in the link handler, plumb it through
the event bus, and scroll the matching heading into view once the
target note is in place. Headings now get GitHub-style ids via
markdown-it-anchor + github-slugger so the anchors actually exist.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 09:40:30 +02:00
Julien Calixte
5f48aa5690 chore: lint and fmt 2026-03-28 09:38:55 +01:00
Julien Calixte
77c1f41b6d refactor: extract useResizeContainer hook from useNoteView 2026-02-14 23:40:43 +01:00
Julien Calixte
b6554282f7 fix: shadow overlay 2026-01-09 23:43:19 +01:00
Julien Calixte
d4eb45d6e1 feat: add a error message when note is not found with the absolute path for better debugging. 2025-09-27 21:19:17 +02:00
Julien Calixte
06ed2e4223 fix offset padding 2025-07-06 17:26:46 +02:00
Julien Calixte
0f119d1f6a prune: remove theme in litenote config 2025-02-11 22:21:32 +01:00
Julien Calixte
a1c5cb666a refacto: prepare for a relevant useNote hook 2024-11-02 18:58:51 +01:00