HtmlForgeX

API Reference

Command

New-HtmlXParagraph

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerParagraph

Creates a paragraph element with optional nested content.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXParagraph -Text "Layout primitives and navigation patterns."
        

New-HtmlXParagraph -Text "Review the generated output before publishing."
        

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-HtmlXParagraph [-Content <ScriptBlock>] [-Text <string>] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Optional scriptblock to add nested elements inside the paragraph.
Text string optionalposition: namedpipeline: false
Paragraph text.

Outputs

HtmlForgeX.TablerParagraph