Jason Meridth's Blog Learn, Converse, Share

Details HTML Section In Github Issues and Gists

I recently became aware of using the <details></details> and <summary>...</summary> tags in Github issues and Gists.

Here is an example.

I will definitely be using this more when posting big logs or stack traces.

Kudos:

  • Laura Frank for showing me this feature
  • Keith Dahlby for letting me know it doesn’t currently work in Firefox
  • Matt Hinze for showing me this gist where I learned of <summary>...</summary>
  • Eric Clemmons for the awesome gist that does a great job explaining the feature
Have feedback on this post? Let @jmeridth know on Twitter.