API Reference
Command
Add-OfficeMarkdownImage
Adds a Markdown image.
Remarks
Adds a Markdown image.
Examples
Add an image with alt text.
PS>MarkdownImage -Path '.\logo.png' -Alt 'Logo'
Appends an image block to the document.
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-OfficeMarkdownImage [-Alt <String>] [-Height <Nullable`1>] [-PassThru] -Path <String> [-Title <String>] [-Width <Nullable`1>] [<CommonParameters>]#Parameter set:
ContextParameters
- Alt String
- Alt text for the image.
- Height Nullable`1
- Optional height in pixels.
- PassThru SwitchParameter
- Emit the Markdown document after appending the image.
- Path String
- Image path or URL.
- Title String
- Optional title for the image.
- Width Nullable`1
- Optional width in pixels.
Outputs
OfficeIMO.Markdown.MarkdownDoc
Add-OfficeMarkdownImage [-Alt <String>] -Document <MarkdownDoc> [-Height <Nullable`1>] [-PassThru] -Path <String> [-Title <String>] [-Width <Nullable`1>] [<CommonParameters>]#Parameter set:
DocumentParameters
- Alt String
- Alt text for the image.
- Document MarkdownDoc
- Markdown document to update outside the DSL context.
- Height Nullable`1
- Optional height in pixels.
- PassThru SwitchParameter
- Emit the Markdown document after appending the image.
- Path String
- Image path or URL.
- Title String
- Optional title for the image.
- Width Nullable`1
- Optional width in pixels.
Outputs
OfficeIMO.Markdown.MarkdownDoc