For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDSyntaxHighlighter

Syntax highlighting for text.

Synopsis

Syntax highlighting for text.

Syntax

New-UDSyntaxHighlighter [[-Id] <String>] [[-Code] <String>] [[-Language] <String>] [[-Style] <String>] [-ShowLineNumbers] [<CommonParameters>]

Description

Syntax highlighting for text.

Parameters

-Id

The ID of this component.

Required?                    false
Position?                    1
Default value                [Guid]::NewGuid()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Code

The code to syntax highlight.

-Language

The language to highlight the code in.

-Style

The style to apply to the code.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?