Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Close-OfficeMarkdown

Module
PSWriteOffice
Inputs
OfficeIMO.Markdown.MarkdownDocument

Completes a live Markdown document's lifetime without saving.

Syntax

Close-OfficeMarkdown
-Document <MarkdownDocument>
[<CommonParameters>]
#
Parameter set: Document

Examples

Discard pending changes.

$document | Close-OfficeMarkdown

Parameters

-Document MarkdownDocument requiredpipeline: True (ByValue)
Markdown document to close.

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.