STRUCT
MarkdownCollapsibleSection
Collapsible blocks are a great way to hide large portions of content that, while valuable to the reader, would result on a lot of noise.
Collapsible blocks work well in most Markdown readers, including GitHub.com and rendered GitHub Pages. However, because they rely on HTML tags, they will make the raw markdown output harder to read.
<details><summary>Block Title</summary> Block details. </details>
markdown
Generated Markdown output
init(summary:details:)
MarkdownCollapsibleSection initializer
- Parameters:
- summary: Plain text or HTML string containing the block title.
- details: Markdown convertible elements to include in the collapsible block.