diff --git a/README.md b/README.md
index 2207b0e13..554e3bc01 100644
--- a/README.md
+++ b/README.md
@@ -82,6 +82,11 @@ I would recomend you use a browser extension like [Alby](https://getalby.com/) o
- implement NIP-56 and blocking
- allow user to select relay or following list when fetching replies (default to my relays + following?)
- massive thread note1dapvuu8fl09yjtg2gyr2h6nypaffl2sq0aj5raz86463qk5kpyzqlxvtc3
+- Improve link previews https://github.com/pengx17/logseq-plugin-link-preview/blob/master/src/use-link-preview-metadata.tsx
+- Support `magnet:` links
+ - in-browser video player? https://webtorrent.io/
+ - Button to open magnet link in system default app
+ - Add support for uploading files (seed files in background?, how to pick trackers?)
## Setup
diff --git a/src/components/note/note-contents.tsx b/src/components/note/note-contents.tsx
index dba3f9060..3629ba5d0 100644
--- a/src/components/note/note-contents.tsx
+++ b/src/components/note/note-contents.tsx
@@ -37,7 +37,7 @@ const embeds: EmbedType[] = [
// Twitter tweet
{
regexp:
- /https?:\/\/twitter\.com\/(?:\#!\/)?(\w+)\/status(es)?\/(\d+)(\??(?:[\?#\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?/im,
+ /https?:\/\/twitter\.com\/(?:\#!\/)?(\w+)\/status(es)?\/(\d+)(\??(?:[\?#\-\+=&;%@\.\w_]*)#?(?:[\-\.\!\/\\\w]*))?/im,
render: (match) => ,
name: "Tweet",
isMedia: true,
@@ -87,7 +87,7 @@ const embeds: EmbedType[] = [
},
// Youtube Music
{
- regexp: /https?:\/\/music\.youtube\.com\/watch\?v=(\w+)(\??(?:[\?#\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?/,
+ regexp: /https?:\/\/music\.youtube\.com\/watch\?v=(\w+)(\??(?:[\?#\-\+=&;%@\.\w_]*)#?(?:[\-\.\!\/\\\w]*))?/,
render: (match) => (