Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save GregTrevellick/bcbe2ccb5ddba51df6e72b0b0fab1ba8 to your computer and use it in GitHub Desktop.

Select an option

Save GregTrevellick/bcbe2ccb5ddba51df6e72b0b0fab1ba8 to your computer and use it in GitHub Desktop.

Revisions

  1. GregTrevellick revised this gist May 23, 2019. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion markdown-details-collapsible.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,17 @@
    Your markdown heading here
    <details>
    <summary>
    Show details
    Show details closed by default
    </summary>
    Your markdown content here
    </details>



    Your markdown heading here
    <details open>
    <summary>
    Show details open by default
    </summary>
    Your markdown content here
    </details>
  2. @pierrejoubert73 pierrejoubert73 created this gist Jun 30, 2017.
    7 changes: 7 additions & 0 deletions markdown-details-collapsible.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Your markdown heading here
    <details>
    <summary>
    Show details
    </summary>
    Your markdown content here
    </details>