MarkdownGenerator

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>

Properties

markdown

Generated Markdown output

Methods

init(summary:details:)

MarkdownCollapsibleSection initializer