Use these directives to embed media:
::link{url="https://xxxxx.xxx"}
::spotify{url="https://open.spotify.com/type/xxxxx"}
::youtube{url="https://www.youtube.com/watch?v=xxxxx"}
::bilibili{url="https://www.bilibili.com/video/xxxxx"}
::github{repo="username/repo"}
::x{url="https://x.com/username/status/xxxxx"}
::neodb{url="https://neodb.social/category/xxxxx"}🟡
When embedded content is still loading,
the table of contents positioning may be inaccurate.Link Card
🟡
Link Card metadata is fetched automatically during `pnpm dev` and `pnpm build`.
Run `pnpm update-link-metadata --force` to refresh existing entries.
-
To disable Link Card, set `linkCard: false` in `src/config.ts`.
Restart `pnpm dev` for the change to take effect.Spotify
YouTube
BiliBili
GitHub
--