collapse

.collapse title:{InlineMarkdownContent}
open:{Boolean = false}
body:{MarkdownContent}
-> Node

Inserts content in a collapsible block, whose content can be hidden or shown by interacting with it.

Return

the new Collapse node

Parameters

title

title of the block

open

whether the block is open at the beginning