Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Add-OfficeMarkdownQuote

Aliases: MarkdownQuote
Module
PSWriteOffice
Aliases
MarkdownQuote
Inputs
OfficeIMO.Markdown.MarkdownDocument
Outputs
OfficeIMO.Markdown.MarkdownDocument

Adds a Markdown block quote.

Syntax

Add-OfficeMarkdownQuote
[-PassThru]
[-Text] <String>
[<CommonParameters>]
#
Parameter set: Context
Add-OfficeMarkdownQuote
-Document <MarkdownDocument>
[-PassThru]
[-Text] <String>
[<CommonParameters>]
#
Parameter set: Document

Examples

Add an executive takeaway quote.

New-OfficeMarkdown -Path .\ExecutiveSummary.md {
    Add-OfficeMarkdownHeading -Level 1 -Text 'Executive summary'
    Add-OfficeMarkdownQuote -Text 'The release is ready when examples, generated docs, and artifact readback all agree.'
    Add-OfficeMarkdownParagraph -Text 'Detailed validation follows.'
}

Appends a quote block to the current Markdown document.

Parameters

-PassThru SwitchParameter optional
Emit the Markdown document after appending the quote.
-Text String requiredposition: 0
Quote text.
-Document MarkdownDocument requiredpipeline: True (ByValue)sets: Document
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.