API Reference
Cmdlet
Get-OfficeDocumentPageMarkdown
Projects Reader pages into citation-friendly Markdown.
Remarks
Projects Reader pages into citation-friendly Markdown.
Examples
Create one Markdown file with page markers.
PS>
Get-OfficeDocument -Path .\Handbook.pdf |
Get-OfficeDocumentPageMarkdown -AsString |
Set-Content -Path .\Handbook.pages.md
Uses OfficeIMO.Reader page projection and preserves the page provenance in each marker.
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
Get-OfficeDocumentPageMarkdown [-AsString] -InputObject <OfficeDocumentReadResult> [-NoPageMarkers] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- AsString SwitchParameter
- Return one combined Markdown string instead of one page result per page.
- InputObject OfficeDocumentReadResult
- Normalized document returned by Get-OfficeDocument.
- NoPageMarkers SwitchParameter
- Omit portable HTML page markers from the Markdown.
Outputs
OfficeIMO.Reader.OfficeDocumentPageMarkdown System.String