Collapse and expand wiki page content: Difference between revisions

Matt (talk | contribs)
Matt (talk | contribs)
Line 42: Line 42:
  <code><details>
  <code><details>
  <summary>My additional information</summary>
  <summary>My additional information</summary>
  Here is the information.
  Here is the information.
  * Item one
  * Item one
  * Item two
  * Item two
  * Item three
  * Item three
  </details></code>
  </details></code>
The result behaves like the familiar disclosure/accordion control on modern websites: click the summary and the content opens underneath it.
The result behaves like the familiar disclosure/accordion control on modern websites: click the summary and the content opens underneath it.