Cmdlet
Get-OfficeDocumentPageMarkdown
Projects Reader pages into citation-friendly Markdown.
Syntax
Get-OfficeDocumentPageMarkdown [-AsString] [-InputObject] <OfficeDocumentReadResult> [-NoPageMarkers] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Create one Markdown file with page markers.
Get-OfficeDocument -Path .\Handbook.pdf |
Get-OfficeDocumentPageMarkdown -AsString |
Set-Content -Path .\Handbook.pages.mdUses OfficeIMO.Reader page projection and preserves the page provenance in each marker.
Parameters
- -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.
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.