API Reference
Cmdlet
Add-OfficeMarkdownCallout
Adds a Markdown callout block.
Remarks
Adds a Markdown callout block.
Examples
Example 1: Add release callouts to a Markdown report.
PS>
New-OfficeMarkdown -Path .\ReleaseNotes.md {
Add-OfficeMarkdownHeading -Level 1 -Text 'Release notes'
Add-OfficeMarkdownCallout -Kind 'note' -Title 'Validation' -Body 'Artifacts were generated from deterministic example data.'
Add-OfficeMarkdownCallout -Kind 'warning' -Title 'Manual step' -Body 'Open the workbook in desktop Excel before publishing pivots.'
}
Appends callout blocks while composing a Markdown report.
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.
Syntax
Add-OfficeMarkdownCallout -Body <String> -Kind <String> [-PassThru] -Title <String> [<CommonParameters>]#Parameter set:
ContextParameters
- Body String
- Callout body text.
- Kind String
- Callout kind (e.g. note, tip, warning).
- PassThru SwitchParameter
- Emit the Markdown document after appending the callout.
- Title String
- Callout title.
Outputs
OfficeIMO.Markdown.MarkdownDoc
Add-OfficeMarkdownCallout -Body <String> -Document <MarkdownDoc> -Kind <String> [-PassThru] -Title <String> [<CommonParameters>]#Parameter set:
DocumentParameters
- Body String
- Callout body text.
- Document MarkdownDoc
- Markdown document to update outside the DSL context.
- Kind String
- Callout kind (e.g. note, tip, warning).
- PassThru SwitchParameter
- Emit the Markdown document after appending the callout.
- Title String
- Callout title.
Outputs
OfficeIMO.Markdown.MarkdownDoc