HtmlForgeX

API Reference

Command

New-HtmlXText

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerText

Adds a text element to the current DSL context.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXText -Text "Generated: $(Get-Date)" -Style Muted
        

New-HtmlXText -Text "Overview content" -Style Muted
        

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-HtmlXText [-Color <Blue>] [-Style <Muted|Truncate|Monospace|Primary|Success>] [-Text <string>] [<CommonParameters>]
#

Parameters

Color TablerColor optionalposition: namedpipeline: falsevalues: 62
Tabler text color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Style TablerTextStyle optionalposition: namedpipeline: falsevalues: 5
Tabler text style (e.g. muted). Possible values: Muted, Truncate, Monospace, Primary, Success
Possible values: Muted, Truncate, Monospace, Primary, Success
Text string optionalposition: namedpipeline: false
Text content to render.

Outputs

HtmlForgeX.TablerText