API Reference
Cmdlet
Add-OfficeMarkdownParagraph
Adds a Markdown paragraph.
Remarks
Adds a Markdown paragraph.
Examples
Example 1: Add narrative text between generated sections.
PS>
New-OfficeMarkdown -Path .\Report.md {
Add-OfficeMarkdownHeading -Level 1 -Text 'Operational Report'
Add-OfficeMarkdownParagraph -Text 'This report is generated automatically from validated source data.'
Add-OfficeMarkdownParagraph -Text 'Use the linked artifacts for workbook, PDF, and presentation proof.'
}
Appends paragraph text to the current Markdown 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-OfficeMarkdownParagraph [-PassThru] -Text <String> [<CommonParameters>]#Parameter set:
ContextParameters
- PassThru SwitchParameter
- Emit the Markdown document after appending the paragraph.
- Text String
- Paragraph text.
Outputs
OfficeIMO.Markdown.MarkdownDoc
Add-OfficeMarkdownParagraph -Document <MarkdownDoc> [-PassThru] -Text <String> [<CommonParameters>]#Parameter set:
DocumentParameters
- Document MarkdownDoc
- Markdown document to update outside the DSL context.
- PassThru SwitchParameter
- Emit the Markdown document after appending the paragraph.
- Text String
- Paragraph text.
Outputs
OfficeIMO.Markdown.MarkdownDoc