API Reference
Cmdlet
Add-OfficeMarkdownHorizontalRule
Adds a Markdown horizontal rule.
Remarks
Adds a Markdown horizontal rule.
Examples
Example 1: Separate summary and appendix sections.
PS>
New-OfficeMarkdown -Path .\Report.md {
Add-OfficeMarkdownHeading -Level 2 -Text 'Summary'
Add-OfficeMarkdownParagraph -Text 'Key decisions and status.'
Add-OfficeMarkdownHorizontalRule
Add-OfficeMarkdownHeading -Level 2 -Text 'Appendix'
}
Appends a horizontal rule between sections of 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-OfficeMarkdownHorizontalRule [-PassThru] [<CommonParameters>]#Parameter set:
ContextParameters
- PassThru SwitchParameter
- Emit the Markdown document after appending the rule.
Outputs
OfficeIMO.Markdown.MarkdownDoc
Add-OfficeMarkdownHorizontalRule -Document <MarkdownDoc> [-PassThru] [<CommonParameters>]#Parameter set:
DocumentParameters
- Document MarkdownDoc
- Markdown document to update outside the DSL context.
- PassThru SwitchParameter
- Emit the Markdown document after appending the rule.
Outputs
OfficeIMO.Markdown.MarkdownDoc