Linking social media
A demo post showing how to link videos and posts without embedding them.
Posts and policy ideas list related social media in the media frontmatter. Each link becomes a card with a locally stored thumbnail, so visitors’ browsers never contact YouTube, TikTok, or Facebook until they click through.
Generate a card’s title and thumbnail once with:
nix develop --command npm run add-media -- https://www.youtube.com/watch?v=dQw4w9WgXcQ
Images work with regular Markdown syntax:


