Cmdlet
Add-OfficeEpubChapter
Adds chapter content, reading order and a navigation entry.
Syntax
Add-OfficeEpubChapter
[-ContainerPath <String>]
[-Document <EpubPublication>]
[-Id <String>]
[-PassThru]
-Text <String>
[-Title] <String>
[<CommonParameters>]#Parameter set:
TextAdd-OfficeEpubChapter
[-ContainerPath <String>]
[-Document <EpubPublication>]
[-Id <String>]
[-PassThru]
[-Title] <String>
-Xhtml <String>
[<CommonParameters>]#Parameter set:
XhtmlAdd-OfficeEpubChapter
[-ContainerPath <String>]
[-Document <EpubPublication>]
[-Id <String>]
-Markdown <String>
[-PassThru]
[-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.
- -Document EpubPublication
- Gets or sets an explicit live document; omission uses the enclosing content block.
- -Id String
- Optional stable manifest identifier; omission chooses an unused chapter number.
- -PassThru SwitchParameter
- Return the created or changed object.
- -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.