dd02f2ff27cde3a60becae057d3e5bbfda344064
Move LinkPreview rendering from a fixed position below the post into NoteContent itself, so previews appear exactly where the URL was in the original text. - Rewrite NoteContent to use a token-based architecture: useMemo produces typed tokens (text, link-preview, mention, nostr-link, hashtag), then the render phase maps tokens to components - Non-media URLs produce a `link-preview` token that renders an inline <LinkPreview> card at that position in the content flow - Remove separate LinkPreview blocks from NoteCard and PostDetailPage since previews are now handled by NoteContent - Remove unused extractPreviewUrl helper from useLinkPreview hook Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
Description
Languages
TypeScript
95.7%
Java
1.5%
JavaScript
0.9%
Swift
0.9%
CSS
0.5%
Other
0.4%