Cmdlet
Add-OfficeMarkdownTaskList
Adds a Markdown task list.
Syntax
Add-OfficeMarkdownTaskList
[-AllCompleted]
[-Completed <Int32[]>]
[-Items] <String[]>
[-PassThru]
[<CommonParameters>]#Parameter set:
ContextAdd-OfficeMarkdownTaskList
[-AllCompleted]
[-Completed <Int32[]>]
-Document <MarkdownDoc>
[-Items] <String[]>
[-PassThru]
[<CommonParameters>]#Parameter set:
DocumentExamples
Add a release checklist.
New-OfficeMarkdown -Path .\ReleaseChecklist.md {
Add-OfficeMarkdownHeading -Level 1 -Text 'Release checklist'
Add-OfficeMarkdownTaskList -Items 'Generate examples', 'Refresh docs', 'Validate artifacts', 'Publish release' -Completed 0, 1
}Appends an unordered task list and marks selected zero-based items as completed.
Parameters
- -AllCompleted SwitchParameter
- Mark every task as completed.
- -Completed Int32[]
- Zero-based item indexes that should be marked complete.
- -Items String[]
- Task text entries to include in the checklist.
- -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.