Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 586 Bytes

File metadata and controls

26 lines (19 loc) · 586 Bytes

Making a collapsible markdown section

From this gist by pierrejoubert73:

  • Have an empty line after the </summary> tag or markdown/code blocks will not render.
  • Have an empty line after each </details> tag if you have multiple collapsible sections.
<details>
  <summary>Click me</summary>
  
  ### Favorite Disney Movies
  1. Wall-E
  2. Moana 
</details>

Live example:

Click me

Favorite Disney Movies

  1. Wall-E
  2. Moana