silverbullet/website/Link Unfurl.md

8 lines
564 B
Markdown
Raw Permalink Normal View History

2024-02-24 20:16:04 +08:00
SilverBullet has infrastructure to “unfurl” — that is: to replace links with something nicer. Unfurling can be triggered by putting your cursor on any “naked” URL (such as https://silverbullet.md), and running the {[Link: Unfurl]} command.
2022-11-25 23:01:05 +08:00
2024-02-24 20:16:04 +08:00
Plugs can provide custom unfurls for specific URL patterns.
2022-11-25 23:01:05 +08:00
2024-02-24 20:16:04 +08:00
Two supported out of the box are:
* A generic URL unfurl, adding a title for a url so `https://silverbullet.md` becomes `[SilverBullet](https://silverbullet.md)`.
* A youtube URL unfurl, replacing a Youtube link with an [[Live Embeds]] of that video.