Cmdlet
Add-OfficeMarkdownParagraph
Adds a Markdown paragraph.
Syntax
Add-OfficeMarkdownParagraph
[-PassThru]
[-Text] <String>
[<CommonParameters>]#Parameter set:
TextAdd-OfficeMarkdownParagraph
-Document <MarkdownDocument>
[-PassThru]
[-Text] <String>
[<CommonParameters>]#Parameter set:
DocumentTextAdd-OfficeMarkdownParagraph
[-Content] <ScriptBlock>
-Document <MarkdownDocument>
[-PassThru]
[<CommonParameters>]#Parameter set:
DocumentContentAdd-OfficeMarkdownParagraph
[-Content] <ScriptBlock>
[-PassThru]
[<CommonParameters>]#Parameter set:
ContentExamples
Add narrative text between generated sections.
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.
Parameters
- -PassThru SwitchParameter
- Emit the Markdown document after appending the paragraph.
- -Text String
- Paragraph text.
- -Document MarkdownDocument
- Markdown document to update outside the DSL context.
- -Content ScriptBlock
- Rich text composed with MarkdownText children.
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.