Cmdlet
Add-OfficeMarkdownDetails
Adds a collapsible Markdown details block.
Syntax
Examples
Add a details section.
MarkdownDetails -Summary 'Implementation notes' { MarkdownParagraph -Text 'Hidden by default.' }Appends a details/summary block with nested Markdown content.
Parameters
- -Content ScriptBlock
- Nested Markdown content rendered inside the details block.
- -Open SwitchParameter
- Render the details block as open by default.
- -PassThru SwitchParameter
- Emit the updated Markdown document.
- -Summary String
- Summary text displayed by the details block.
- -Document MarkdownDoc
- Markdown document to update outside the DSL context.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.