Table of Contents

Method Text

Namespace
Velvet
Assembly
Velvet.Docs.dll

Text(string?)

Creates a text-only node. Materialized as a Label.

public static TextNode Text(string? text)

Parameters

text string

Text content to display. Treated as empty when null.

Returns

TextNode

The created TextNode.