MHN
Add a comment on Hacker News →
2 of 75 comments
  1. Same, I've added a .#screenshots derivation. High up-front effort but almost zero maintenance afterwards.

    Bonus: since you're generating screenshots programmatically anyway, you can generate a pair of each with your app's light/dark theme, and swap them in/out depending on prefers-color-scheme: dark. <picture> elements work in GitHub READMEs, too: https://github.com/CyberShadow/CyDo#readme

  2. I approve of this approach.

    The docs for Textual (TUI library for Python) build screenshots along with the docs. Technically not really screenshots, they are SVGs, but principle is the same. They never get out of date.

    https://textual.textualize.io/widgets/markdown/#example