News for hackers. Stuff that matters.
Re:A Go Custom Flutter Engine Embedder for Desktop by christophilus on Friday January 18, 2019 @07:14AM (#18938746)
It's done via embedded HTML, which GitHub flavored markdown supports. I didn't know about the HTML details element, though. Pretty handy!

    <details>
      <summary>Click to expand</summary>
      <div>Hidden until expanded, no JS or CSS required!</div>
    </details>
Re:A Go Custom Flutter Engine Embedder for Desktop by Hixie on Friday January 18, 2019 @01:50PM (#18941763)
If it makes you feel better, I _invented_ `<details>` and didn't realize you could do that in markdown...
Re:A Go Custom Flutter Engine Embedder for Desktop by masklinn on Friday January 18, 2019 @07:20AM (#18938777)
It also works in issue/PR descriptions and comments. As far as I'm concerned that's where it's most convenient as it lets you e.g. post big screenshots or graphical rendering of profiles (flamegraphs) without taking up screenfuls of space and bothering everybody.