Cmdlet
Add-OfficeMarkdownFrontMatter
Adds YAML front matter to a Markdown document.
Syntax
Examples
Add front matter from a hashtable.
MarkdownFrontMatter -InputObject @{ title = 'Weekly Report'; tags = @('ops','summary') }Sets the document header using the supplied key/value pairs.
Parameters
- -InputObject Object
- Front matter data expressed as a hashtable or object.
- -PassThru SwitchParameter
- Emit the updated Markdown document.
- -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.