API Reference
Cmdlet
Save-OfficeMarkdown
Saves a Markdown document without changing its lifetime.
Remarks
Saves a Markdown document without changing its lifetime.
Examples
Save a Markdown document.
PS>
$doc | Save-OfficeMarkdown -Path .\Report.md
Writes the Markdown artifact and keeps the document available for further changes.
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
Save-OfficeMarkdown -Document <MarkdownDoc> [-ImageRenderingMode <RichMarkdown|PortableMarkdown|Html>] [-LineEnding <String>] [-PassThru] -Path <String> [-UnorderedListMarker <String>] [-WriteOptions <MarkdownWriteOptions>] [-WriteProfile <OfficeIMO|Portable|HtmlImage>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Document MarkdownDoc
- Markdown document to save.
- ImageRenderingMode MarkdownImageRenderingMode
- Controls how Markdown images are serialized.
- Possible values:
RichMarkdown,PortableMarkdown,Html - LineEnding String
- Markdown line ending: CRLF, LF, CR, or a literal line ending string.
- PassThru SwitchParameter
- Emit the Markdown document rather than the saved file.
- Path String
- Destination Markdown path.
- UnorderedListMarker String
- Unordered list marker: '-', '*', or '+'.
- WriteOptions MarkdownWriteOptions
- Optional Markdown writer options.
- WriteProfile OfficeMarkdownWriteProfile
- Friendly Markdown writer profile.
- Possible values:
OfficeIMO,Portable,HtmlImage
Outputs
OfficeIMO.Markdown.MarkdownDoc