API Reference
Command
New-HtmlXHeading
Creates a Tabler heading element (H1-H6).
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
Example 1: Create a heading with nested content.
New-HtmlXHeading -Level 2 -Text "Overview"
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.
Syntax
New-HtmlXHeading [-Content <ScriptBlock>] [-Level <int>] [-Text <string>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Optional scriptblock to add nested elements inside the heading.
- Level int
- Heading level (1-6). Default is 2.
- Text string
- Heading text.
Outputs
HtmlForgeX.TablerHeadingBase