Cmdlet
Add-OfficeMarkdownHorizontalRule
Adds a Markdown horizontal rule.
Syntax
Examples
Separate summary and appendix sections.
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.
Parameters
- -PassThru SwitchParameter
- Emit the Markdown document after appending the rule.
- -Document MarkdownDoc
- Markdown document to update outside the DSL context.
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.