Cmdlet
Add-OfficeMarkdownHeading
Adds a Markdown heading.
Syntax
Examples
Add headings that feed the Markdown table of contents.
New-OfficeMarkdown -Path .\Report.md {
Add-OfficeMarkdownHeading -Level 1 -Text 'Operational Report'
Add-OfficeMarkdownTableOfContents -Title 'Contents' -MinLevel 2 -MaxLevel 3 -PlaceAtTop
Add-OfficeMarkdownHeading -Level 2 -Text 'Overview'
Add-OfficeMarkdownParagraph -Text 'Current operational state.'
}Appends headings that can be included in a generated table of contents.
Parameters
- -Level Int32
- Heading level (1-6).
- -PassThru SwitchParameter
- Emit the Markdown document after appending the heading.
- -Text String
- Heading text.
- -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.