MarkdownSyntaxFactory.Text

Text(string)

Creates TextSyntax

public TextSyntaxNode Text(string text)
ParameterTypeDescription
textStringThe string value.

Return Value

The TextSyntax.

See Also


Text(SourceText)

Create the TextSyntax from SourceText.

public TextSyntaxNode Text(SourceText source)
ParameterTypeDescription
sourceSourceTextThe SourceText.

Return Value

The TextSyntax.

See Also


Text(SourceText, TextSpan)

Create the TextSyntax from SourceText and TextSpan.

public TextSyntaxNode Text(SourceText source, TextSpan span)
ParameterTypeDescription
sourceSourceTextThe SourceText.
spanTextSpanThe TextSpan.

Return Value

The TextSyntax.

See Also