Render and navigate [[wikilink]] syntax in notes

- Add WikilinkSyntax (InlineSyntax) that parses [[Note Title]] into
  anchor elements with a wikilink:// href
- wikilinkExtensionSet extends GFM with this syntax; shared by detail
  view and edit preview so rendering is consistent
- NoteDetailScreen handles onTapLink: wikilink:// hrefs look up the
  target note by title (case-insensitive) and push its detail route;
  unresolved links show a "Note not found" snackbar
- Add markdown as an explicit dependency (was previously transitive)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 12:55:06 -05:00
parent 45768e9bb8
commit 3c5f932327
5 changed files with 55 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ dependencies:
path_provider: ^2.1.4
shared_preferences: ^2.3.2
flutter_markdown: ^0.7.3
markdown: ^7.2.2
flutter_inappwebview: ^6.1.5
dev_dependencies: