OfficeIMO

API Reference

Command

Add-OfficeMarkdownImage

Namespace PSWriteOffice
Inputs
OfficeIMO.Markdown.MarkdownDoc
Outputs
OfficeIMO.Markdown.MarkdownDoc

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: Context

Parameters

Alt String optionalposition: namedpipeline: False
Alt text for the image.
Height Nullable`1 optionalposition: namedpipeline: False
Optional height in pixels.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the Markdown document after appending the image.
Path String requiredposition: 0pipeline: False
Image path or URL.
Title String optionalposition: namedpipeline: False
Optional title for the image.
Width Nullable`1 optionalposition: namedpipeline: False
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: Document

Parameters

Alt String optionalposition: namedpipeline: False
Alt text for the image.
Document MarkdownDoc requiredposition: namedpipeline: True (ByValue)
Markdown document to update outside the DSL context.
Height Nullable`1 optionalposition: namedpipeline: False
Optional height in pixels.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the Markdown document after appending the image.
Path String requiredposition: 0pipeline: False
Image path or URL.
Title String optionalposition: namedpipeline: False
Optional title for the image.
Width Nullable`1 optionalposition: namedpipeline: False
Optional width in pixels.

Outputs

OfficeIMO.Markdown.MarkdownDoc