Cmdlet
Get-OfficeMarkdownTable
Gets Markdown tables from a Markdown document.
Syntax
Get-OfficeMarkdownTable
[-AllowDataUrls <Boolean>]
[-AllowedUrlScheme <String[]>]
[-AllowMailtoUrls <Boolean>]
[-AllowProtocolRelativeUrls <Boolean>]
[-AsObject]
[-BaseUri <String>]
[-DisallowFileUrls <Boolean>]
[-MaxInputCharacters <Int32>]
[-NormalizeInput <IntelligenceXTranscript| IntelligenceXTranscriptStrict| DocsLoose>]
[-Options <MarkdownReaderOptions>]
[-Path] <String>
[-Profile <OfficeIMO| CommonMark| GitHubFlavoredMarkdown| Portable>]
[-RestrictUrlSchemes <Boolean>]
[<CommonParameters>]#Parameter set:
PathGet-OfficeMarkdownTable
[-AllowDataUrls <Boolean>]
[-AllowedUrlScheme <String[]>]
[-AllowMailtoUrls <Boolean>]
[-AllowProtocolRelativeUrls <Boolean>]
[-AsObject]
[-BaseUri <String>]
[-DisallowFileUrls <Boolean>]
-Document <MarkdownDoc>
[-MaxInputCharacters <Int32>]
[-NormalizeInput <IntelligenceXTranscript| IntelligenceXTranscriptStrict| DocsLoose>]
[-Options <MarkdownReaderOptions>]
[-Profile <OfficeIMO| CommonMark| GitHubFlavoredMarkdown| Portable>]
[-RestrictUrlSchemes <Boolean>]
[<CommonParameters>]#Parameter set:
DocumentGet-OfficeMarkdownTable
[-AllowDataUrls <Boolean>]
[-AllowedUrlScheme <String[]>]
[-AllowMailtoUrls <Boolean>]
[-AllowProtocolRelativeUrls <Boolean>]
[-AsObject]
[-BaseUri <String>]
[-DisallowFileUrls <Boolean>]
[-MaxInputCharacters <Int32>]
[-NormalizeInput <IntelligenceXTranscript| IntelligenceXTranscriptStrict| DocsLoose>]
[-Options <MarkdownReaderOptions>]
[-Profile <OfficeIMO| CommonMark| GitHubFlavoredMarkdown| Portable>]
[-RestrictUrlSchemes <Boolean>]
-Text <String>
[<CommonParameters>]#Parameter set:
TextExamples
Read tables as PowerShell objects.
Get-OfficeMarkdown -Path .\Report.md | Get-OfficeMarkdownTable -AsObjectReturns table rows as PowerShell objects using the Markdown header row as property names.
Parameters
- -AllowDataUrls Boolean
- Allow data URLs while parsing Markdown links and images.
- -AllowedUrlScheme String[]
- Allowed URL schemes when URL scheme restriction is enabled.
- -AllowMailtoUrls Boolean
- Allow mailto URLs while parsing Markdown links.
- -AllowProtocolRelativeUrls Boolean
- Allow protocol-relative URLs while parsing Markdown links and images.
- -AsObject SwitchParameter
- Emit table rows as PowerShell objects instead of raw table blocks.
- -BaseUri String
- Base URI used to resolve and restrict relative Markdown links and images.
- -DisallowFileUrls Boolean
- Block file URLs while parsing Markdown links and images.
- -MaxInputCharacters Int32
- Maximum Markdown input length accepted by the reader.
- -NormalizeInput MarkdownInputNormalizationPreset
- Applies a built-in Markdown input normalization preset before parsing.
- Possible values:
IntelligenceXTranscript,IntelligenceXTranscriptStrict,DocsLoose - -Options MarkdownReaderOptions
- Optional reader options used when parsing path or text input.
- -Path String
- Path to the Markdown file.
- -Profile MarkdownDialectProfile
- Named reader profile used when Options is not supplied.
- Possible values:
OfficeIMO,CommonMark,GitHubFlavoredMarkdown,Portable - -RestrictUrlSchemes Boolean
- Restrict parsed URL schemes to the allow-list.
- -Document MarkdownDoc
- Markdown document to inspect.
- -Text String
- Markdown text to parse.
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.