Fancy console output in GitHub comments

1 · Ned Batchelder · Dec. 17, 2019, 4:16 p.m.
Providing detailed command output in GitHub issues is hard: I want to be complete, but I don’t want to paste unreadable walls of text. Some commands have long output that is usually uninteresting (pip install), but which every once in a while has a useful clue. I want to include that output without making it hard to find the important stuff.While working on an issue with coverage.py 5.0, I came up with a way to show commands and their output that I think works well.I used GitHub’s <details> su...