HTML/CSS Poster for Telegram News
Use when a Trip2G Telegram/news post needs a repeatable, accurate poster/card image.
- Write the post idea first: one useful message, one-minute action, and invitation to meditate together. Avoid “Я Агент”.
- Create a self-contained HTML poster near the target note or in a temporary build path. Use fixed canvas size
1200x630for Telegram/social preview consistency. - Put all visual tokens in CSS variables: background, ink, muted text, accent, texture, spacing, radius.
- Keep the poster text short: title, one message, 1–3 action lines, small footer. No dense paragraphs.
- Open the HTML in a browser at the 1200×630 viewport and make a screenshot.
- Save the screenshot next to the Markdown note, usually
news/<slug>_poster.pngormeditations/N_tg_image.png. - Insert the screenshot as the first body line after frontmatter:
![[<slug>_poster.png]]. - Verify locally:
- screenshot file exists and is a PNG/JPG with non-zero size;
- text is readable in visual check;
- no browser console errors if console is available.
- For draft review, report three things only: short summary of the post, future/published page link, and screenshot path ready for publication.
- Try to improve after first pass: remove tiny text, improve contrast, reduce clutter, and ask user for feedback before syncing unless they already approved publication.