Cmdlet
Add-OfficeEpubChapter
Adds chapter content, reading order and a navigation entry.
Syntax
Add-OfficeEpubChapter [-ContainerPath <String>] [-Id <String>] [-PassThru] -Publication <EpubPublication> -Text <String> [-Title] <String> [<CommonParameters>]#Parameter set:
TextAdd-OfficeEpubChapter [-ContainerPath <String>] [-Id <String>] [-PassThru] -Publication <EpubPublication> [-Title] <String> -Xhtml <String> [<CommonParameters>]#Parameter set:
XhtmlAdd-OfficeEpubChapter [-ContainerPath <String>] [-Id <String>] -Markdown <String> [-PassThru] -Publication <EpubPublication> [-Title] <String> [<CommonParameters>]#Parameter set:
MarkdownExamples
Adds chapter content, reading order and a navigation entry.
$book | Add-OfficeEpubChapter -Title Opening -Text "Welcome to this handbook."Parameters
- -ContainerPath String
- Optional package-relative XHTML path.
- -Id String
- Optional stable manifest identifier; omission chooses an unused chapter number.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Publication EpubPublication
- Live editable publication.
- -Text String
- Plain text, escaped into XHTML paragraphs.
- -Title String
- Chapter title.
- -Xhtml String
- Well-formed XHTML body fragment.
- -Markdown String
- Markdown rendered by the existing Markdown engine. Unsupported raw HTML remains subject to EPUB validation.
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.