shady2k / logseq-inbox-telegram-plugin

MIT License
78 stars 5 forks source link

[Feature Request] Twits support #40

Open Fillll opened 7 months ago

Fillll commented 7 months ago

Logseq by default provides an excellent Twitter preview.

When you manually copy and paste a Twitter link from the browser into Logseq, it utilizes the following syntax, which works flawlessly:

{{twitter https://x.com/fasc1nate/status/1742731788961853831}}

Here's a preview:

image

It would be beneficial to incorporate a similar syntax when a message from Telegram contains only https://twitter.com/ or https://x.com/ links.